|
@@ -1158,6 +1158,10 @@ static unsigned int
|
|
|
mpeg_poll(struct file *file, struct poll_table_struct *wait)
|
|
|
{
|
|
|
struct cx8802_fh *fh = file->private_data;
|
|
|
+ struct cx8802_dev *dev = fh->dev;
|
|
|
+
|
|
|
+ if (!dev->mpeg_active)
|
|
|
+ blackbird_start_codec(file, fh);
|
|
|
|
|
|
return videobuf_poll_stream(file, &fh->mpegq, wait);
|
|
|
}
|