Skip to content

Commit

Permalink
driver/usbvideodriver: avoid using split on subprocess arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Luebbe <[email protected]>
  • Loading branch information
jluebbe committed Aug 26, 2024
1 parent 86ac987 commit 6b02373
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 += "playbin3 uri=fd://0".split()
rx_cmd += ["playbin3", "uri=fd://0"]

tx = subprocess.Popen(
tx_cmd,
Expand Down

0 comments on commit 6b02373

Please sign in to comment.