提交 a2482377 编写于 作者: F Frederic CAND 提交者: Mauro Carvalho Chehab

V4L/DVB (9495): cx88-blackbird: bugfix: cx88-blackbird-poll-fix

Starts encoder not only on a read call but also on a poll command.
Signed-off-by: NFrederic CAND <frederic.cand@anevia.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 dec0c46a
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册