Rename HW engine for Raspberry

This commit is contained in:
Alexey Khit
2022-12-18 10:25:04 +03:00
parent dc21a04da7
commit 097fdfbbb8
2 changed files with 4 additions and 4 deletions

View File

@@ -11,14 +11,14 @@ func ProbeHardware(name string) string {
if run(
"-f", "lavfi", "-i", "testsrc2", "-t", "1",
"-c", "h264_v4l2m2m", "-f", "null", "-") {
return EngineV4L2
return EngineV4L2M2M
}
case "h265":
if run(
"-f", "lavfi", "-i", "testsrc2", "-t", "1",
"-c", "hevc_v4l2m2m", "-f", "null", "-") {
return EngineV4L2
return EngineV4L2M2M
}
}