Merge pull request #413 from skrashevich/230504-patch-hwdetect-darwin

Refactor video toolbox probe commands to use SVGA resolution in hardw…
This commit is contained in:
Alex X
2023-06-15 16:52:00 +03:00
committed by GitHub
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"github.com/AlexxIT/go2rtc/internal/api"
)
const ProbeVideoToolboxH264 = "-f lavfi -i testsrc2 -t 1 -c h264_videotoolbox -f null -"
const ProbeVideoToolboxH265 = "-f lavfi -i testsrc2 -t 1 -c hevc_videotoolbox -f null -"
const ProbeVideoToolboxH264 = "-f lavfi -i testsrc2=size=svga -t 1 -c h264_videotoolbox -f null -"
const ProbeVideoToolboxH265 = "-f lavfi -i testsrc2=size=svga -t 1 -c hevc_videotoolbox -f null -"
func ProbeAll(bin string) []api.Stream {
return []api.Stream{