summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-03-15 12:46:39 +0000
committerGerd Knorr <devnull@localhost>2004-03-15 12:46:39 +0000
commitd846a435c328a8bca2b9f4a16fe7d93e783461f5 (patch)
tree25ae4db7a87cdce34760a7f7384afe9bff37f15d /linux/include
parenta4aa47a04f79c3c3818091f8021a0cf8ee40b8aa (diff)
downloadmediapointer-dvb-s2-d846a435c328a8bca2b9f4a16fe7d93e783461f5.tar.gz
mediapointer-dvb-s2-d846a435c328a8bca2b9f4a16fe7d93e783461f5.tar.bz2
- cropcap fixes.
- v4l1-compat fix.
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/linux/videodev2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h
index 30c776df2..0ad054e96 100644
--- a/linux/include/linux/videodev2.h
+++ b/linux/include/linux/videodev2.h
@@ -870,7 +870,7 @@ struct v4l2_streamparm
#define VIDIOC_S_MODULATOR _IOW ('V', 55, struct v4l2_modulator)
#define VIDIOC_G_FREQUENCY _IOWR ('V', 56, struct v4l2_frequency)
#define VIDIOC_S_FREQUENCY _IOW ('V', 57, struct v4l2_frequency)
-#define VIDIOC_CROPCAP _IOR ('V', 58, struct v4l2_cropcap)
+#define VIDIOC_CROPCAP _IOWR ('V', 58, struct v4l2_cropcap)
#define VIDIOC_G_CROP _IOWR ('V', 59, struct v4l2_crop)
#define VIDIOC_S_CROP _IOW ('V', 60, struct v4l2_crop)
#define VIDIOC_G_JPEGCOMP _IOR ('V', 61, struct v4l2_jpegcompression)
@@ -888,6 +888,7 @@ struct v4l2_streamparm
#define VIDIOC_S_CTRL_OLD _IOW ('V', 28, struct v4l2_control)
#define VIDIOC_G_AUDIO_OLD _IOWR ('V', 33, struct v4l2_audio)
#define VIDIOC_G_AUDOUT_OLD _IOWR ('V', 49, struct v4l2_audioout)
+#define VIDIOC_CROPCAP_OLD _IOR ('V', 58, struct v4l2_cropcap)
#define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */