Skip to content

Commit

Permalink
driver/usbvideodriver: use playbin3 element
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KarlK90 committed Mar 5, 2024
1 parent f432076 commit 65998f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/driver/usbvideodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65998f6

Please sign in to comment.