Refactor video toolbox probe commands to use SVGA resolution in hardware_darwin.go
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
|||||||
"github.com/AlexxIT/go2rtc/internal/api"
|
"github.com/AlexxIT/go2rtc/internal/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ProbeVideoToolboxH264 = "-f lavfi -i testsrc2 -t 1 -c h264_videotoolbox -f null -"
|
const ProbeVideoToolboxH264 = "-f lavfi -i testsrc2=size=svga -t 1 -c h264_videotoolbox -f null -"
|
||||||
const ProbeVideoToolboxH265 = "-f lavfi -i testsrc2 -t 1 -c hevc_videotoolbox -f null -"
|
const ProbeVideoToolboxH265 = "-f lavfi -i testsrc2=size=svga -t 1 -c hevc_videotoolbox -f null -"
|
||||||
|
|
||||||
func ProbeAll(bin string) []api.Stream {
|
func ProbeAll(bin string) []api.Stream {
|
||||||
return []api.Stream{
|
return []api.Stream{
|
||||||
|
|||||||
Reference in New Issue
Block a user