From 65998f685cbdadac10339a7c49034c548a7a6589 Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Mon, 4 Mar 2024 17:04:10 +0100 Subject: [PATCH] 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 --- labgrid/driver/usbvideodriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labgrid/driver/usbvideodriver.py b/labgrid/driver/usbvideodriver.py index 67cf6f87f..15fad97ed 100644 --- a/labgrid/driver/usbvideodriver.py +++ b/labgrid/driver/usbvideodriver.py @@ -131,7 +131,7 @@ def stream(self, caps_hint=None, controls=None): tx_cmd = self.video.command_prefix + ["gst-launch-1.0", "-q"] tx_cmd += pipeline.split() rx_cmd = ["gst-launch-1.0"] - rx_cmd += "playbin uri=fd://0".split() + rx_cmd += "playbin3 uri=fd://0".split() tx = subprocess.Popen( tx_cmd,