Skip to content

Commit

Permalink
V4L/DVB (3827): Cx88-blackbird: clean up the buffers when closing the…
Browse files Browse the repository at this point in the history
… MPEG stream

This patch cleans up the buffer queue when the MPEG stream is closed,
preventing the message, 'cx8802_timeout'

Signed-off-by: Valentin Zagura <puthre@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Valentin Zagura authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 6fe00b0 commit 0b5f56d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/cx88/cx88-blackbird.c
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,7 @@ static int mpeg_release(struct inode *inode, struct file *file)
BLACKBIRD_RAW_BITS_NONE
);

cx8802_cancel_buffers(fh->dev);
/* stop mpeg capture */
if (fh->mpegq.streaming)
videobuf_streamoff(&fh->mpegq);
Expand Down

0 comments on commit 0b5f56d

Please sign in to comment.