Skip to content

Commit 76a0495

Browse files
KarlK90Bastian-Krause
authored andcommitted
driver/usbvideodriver: use playbin3 element
Decoding via VA-API fails for the C920 model and the playbin element on AMD graphic cards, playbin3 has no problems though - so lets switch to that. Signed-off-by: Stefan Kerkmann <[email protected]> (cherry picked from commit 65998f6)
1 parent 7a63be1 commit 76a0495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/driver/usbvideodriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def stream(self, caps_hint=None, controls=None):
133133
tx_cmd = self.video.command_prefix + ["gst-launch-1.0", "-q"]
134134
tx_cmd += pipeline.split()
135135
rx_cmd = ["gst-launch-1.0"]
136-
rx_cmd += "playbin uri=fd://0".split()
136+
rx_cmd += "playbin3 uri=fd://0".split()
137137

138138
tx = subprocess.Popen(
139139
tx_cmd,

0 commit comments

Comments
 (0)