V4L/DVB (6096): ivtv: fix V4L2_ENC_CMD_STOP_AT_GOP_END support
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 23 Aug 2007 20:51:07 +0000 (17:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:06:49 +0000 (22:06 -0300)
commit559e196a56a5d518181efc1d2fefe0892f4689b4
tree99de577c399d281b6d599ec9a7ba6ddb0a148780
parenta158f3559334c6314c7876390caffe88c9fdb64d
V4L/DVB (6096): ivtv: fix V4L2_ENC_CMD_STOP_AT_GOP_END support

Support for V4L2_ENC_CMD_STOP_AT_GOP_END was broken. While the driver
correctly waited for the card to capture until the GOP was complete,
afterwards the driver buffers were just flushed instead of waiting
for the application to read all the pending data.

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