fix broken pipeline.

This commit is contained in:
Miroslav Šedivý 2021-01-12 16:12:53 +01:00
parent f32ebe7935
commit 425d9c2ace

View File

@ -34,7 +34,7 @@ const (
videoClockRate = 90000 videoClockRate = 90000
audioClockRate = 48000 audioClockRate = 48000
pcmClockRate = 8000 pcmClockRate = 8000
videoSrc = "ximagesrc xid=%s show-pointer=true use-damage=false ! video/x-raw ! videoconvert ! queue ! " videoSrc = "ximagesrc display-name=%s show-pointer=true use-damage=false ! video/x-raw ! videoconvert ! queue ! "
audioSrc = "pulsesrc device=%s ! audio/x-raw,channels=2 ! audioconvert ! " audioSrc = "pulsesrc device=%s ! audio/x-raw,channels=2 ! audioconvert ! "
) )