Skip to content

Commit

Permalink
Adjust 'set-caps' call to new syntax
Browse files Browse the repository at this point in the history
See #610
  • Loading branch information
IOhannes m zmölnig authored and IOhannes m zmölnig committed Jan 18, 2025
1 parent e750af9 commit 39ad8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/restarting-writer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ run_writers() {
}

#v4l2-ctl -d $device -c keep_format=1 || exit 1
./utils/v4l2loopback-ctl set-caps "video/x-raw, format=UYVY, width=640, height=480, framerate=(fraction)25/1" $device || exit 1
./utils/v4l2loopback-ctl set-caps "$device" 'UYVY:640x480@25/1' || exit 1
v4l2-ctl -d "$device" -c sustain_framerate=0 || exit 1
v4l2-ctl -d "$device" -c timeout=2000 || exit 1
gst-launch-1.0 videotestsrc num-buffers=1 ! v4l2sink device=$device || exit 1
Expand Down

0 comments on commit 39ad8a4

Please sign in to comment.