diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 078be6319556..ae77450f126b 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -1158,6 +1158,10 @@ static unsigned int | |||
1158 | mpeg_poll(struct file *file, struct poll_table_struct *wait) | 1158 | mpeg_poll(struct file *file, struct poll_table_struct *wait) |
1159 | { | 1159 | { |
1160 | struct cx8802_fh *fh = file->private_data; | 1160 | struct cx8802_fh *fh = file->private_data; |
1161 | struct cx8802_dev *dev = fh->dev; | ||
1162 | |||
1163 | if (!dev->mpeg_active) | ||
1164 | blackbird_start_codec(file, fh); | ||
1161 | 1165 | ||
1162 | return videobuf_poll_stream(file, &fh->mpegq, wait); | 1166 | return videobuf_poll_stream(file, &fh->mpegq, wait); |
1163 | } | 1167 | } |