aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-02-15 14:36:54 (GMT)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-02-15 14:36:54 (GMT)
commitfc9ac02399c1ee4fb7be0f4b57684ce3d9ca0072 (patch)
treeb0b667e4ba30e5c1fdabe09d9fe5063760905b69
parent51bca2a40095ac20fc775a4346bf71d6ff9f2552 (diff)
test-media: replace the last hardcoded device name
media-ctl now understands the bus-info name to refer to a media device, so replace /dev/media4 with platform:vimc. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rwxr-xr-xcontrib/test/test-media4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/test/test-media b/contrib/test/test-media
index 3c7324f..6b015d2 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -73,8 +73,8 @@ v4l2-ctl -z platform:vivid-001 -d vivid-001-vid-out -o1 -x width=3840,height=216
v4l2-ctl -z platform:vivid-002 -d vivid-002-vid-cap -i3 -v width=3840,height=2160,pixelformat=NV24
v4l2-ctl -z platform:vivid-002 -d vivid-002-vid-out -o1 -x width=3840,height=2160,pixelformat=NM16
-media-ctl -d /dev/media4 -V '1:0[fmt:SBGGR8_1X8/640x480]'
-media-ctl -d /dev/media4 -V '5:0[fmt:SBGGR8_1X8/640x480]'
+media-ctl -d platform:vimc -V '1:0[fmt:SBGGR8_1X8/640x480]'
+media-ctl -d platform:vimc -V '5:0[fmt:SBGGR8_1X8/640x480]'
v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=1920,height=1440
v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81
echo

Privacy Policy