Skip to content

Commit 65998f6

Browse files
committed
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 <s.kerkmann@pengutronix.de>
1 parent f432076 commit 65998f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labgrid/driver/usbvideodriver.py

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

136136
tx = subprocess.Popen(
137137
tx_cmd,

0 commit comments

Comments
 (0)