projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec0c46
)
V4L/DVB (9495): cx88-blackbird: bugfix: cx88-blackbird-poll-fix
author
Frederic CAND
<
[email protected]
>
Thu, 30 Oct 2008 07:46:42 +0000
(
04:46
-0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 11 Nov 2008 10:11:27 +0000
(08:11 -0200)
Starts encoder not only on a read call but also on a poll command.
Signed-off-by: Frederic CAND <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/cx88/cx88-blackbird.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx88/cx88-blackbird.c
b/drivers/media/video/cx88/cx88-blackbird.c
index 078be63195568433e9d673e6becd886415ce21b4..ae77450f126bb79d6bdc0cc97ef0fbb4d584ef5c 100644
(file)
--- a/
drivers/media/video/cx88/cx88-blackbird.c
+++ b/
drivers/media/video/cx88/cx88-blackbird.c
@@
-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);
}