Skip to content

Commit 6b54121

Browse files
authored
Merge pull request #1494 from tretter/reduce-latency-of-labgrid-client-video
driver/usbvideodriver: reduce latency of GStreamer pipeline
2 parents 8550918 + a9295fc commit 6b54121

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
@@ -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 += "playbin3 uri=fd://0".split()
134+
rx_cmd += "playbin3 buffer-duration=0 uri=fd://0".split()
135135

136136
tx = subprocess.Popen(
137137
tx_cmd,

0 commit comments

Comments
 (0)