diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-02-18 18:56:22 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-02-18 18:56:22 +0100 |
commit | d4626bcafa116dabbff5b8aef4a4043f4e25b2d2 (patch) | |
tree | cab86d321b1bad292069f7e13f15dab55bf8a93b /linux/drivers/media/video/v4l2-common.c | |
parent | a01a4f3aa02b20388725dc2e7abd1365295672f0 (diff) | |
download | mediapointer-dvb-s2-d4626bcafa116dabbff5b8aef4a4043f4e25b2d2.tar.gz mediapointer-dvb-s2-d4626bcafa116dabbff5b8aef4a4043f4e25b2d2.tar.bz2 |
Add VIDIOC_TRY_ENCODER_CMD and VIDIOC_ENCODER_CMD ioctls.
From: Hans Verkuil <hverkuil@xs4all.nl>
Add support for starting, stopping, pausing and resuming an MPEG (or similar
compressed stream) encoder.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/v4l2-common.c')
-rw-r--r-- | linux/drivers/media/video/v4l2-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l2-common.c b/linux/drivers/media/video/v4l2-common.c index 758ab7ad0..ff555d4ea 100644 --- a/linux/drivers/media/video/v4l2-common.c +++ b/linux/drivers/media/video/v4l2-common.c @@ -401,7 +401,9 @@ static const char *v4l2_ioctls[] = { #if 1 /*KEEP*/ [_IOC_NR(VIDIOC_ENUM_FRAMESIZES)] = "VIDIOC_ENUM_FRAMESIZES", [_IOC_NR(VIDIOC_ENUM_FRAMEINTERVALS)] = "VIDIOC_ENUM_FRAMEINTERVALS", - [_IOC_NR(VIDIOC_G_ENC_INDEX)] = "VIDIOC_G_ENC_INDEX" + [_IOC_NR(VIDIOC_G_ENC_INDEX)] = "VIDIOC_G_ENC_INDEX", + [_IOC_NR(VIDIOC_ENCODER_CMD)] = "VIDIOC_ENCODER_CMD", + [_IOC_NR(VIDIOC_TRY_ENCODER_CMD)] = "VIDIOC_TRY_ENCODER_CMD" #endif }; #define V4L2_IOCTLS ARRAY_SIZE(v4l2_ioctls) |