V4L/DVB (5412): Fix VIDIOC_TRY_ENCODER_CMD and VIDEO_TRY_COMMAND
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 10 Mar 2007 21:29:48 +0000 (18:29 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:29 +0000 (15:44 -0300)
commit25415cf3b8b3982b065e2227f079ea9cf7a97ef7
treeb516992ea40951cb161675f8c777f42c9e265fd4
parentd4e7ee36f988d2757c218d61c2f334df0a1acd45
V4L/DVB (5412): Fix VIDIOC_TRY_ENCODER_CMD and VIDEO_TRY_COMMAND

VIDIOC_TRY_ENCODER_CMD did the same as VIDIOC_ENCODER_CMD, now it no longer
touches the encoder.
Both the encoder and decoder commands did not clear the flags field of unknown
flags.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-ioctl.c