aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 13:51:49 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 15:29:25 (GMT)
commit16278cee776e28af029644f17bc598a7e38aff4a (patch)
treee442d3f4820515ad0992c1d4b00932397638e680 /src
parentd71510532d917e015da8920766b5b38977822a8f (diff)
Backport UVC fix from Fedora
From Fedora logs: fix #655038 - tvtime does not work with UVC webcams Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/videoinput.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/videoinput.c b/src/videoinput.c
index 2102b04..a8fd829 100644
--- a/src/videoinput.c
+++ b/src/videoinput.c
@@ -294,6 +294,7 @@ uint8_t *videoinput_next_frame( videoinput_t *vidin, int *frameid )
wait_for_frame_v4l2( vidin );
cur_buf.type = vidin->capbuffers[ 0 ].vidbuf.type;
+ cur_buf.memory = vidin->capbuffers[ 0 ].vidbuf.memory;
if( ioctl( vidin->grab_fd, VIDIOC_DQBUF, &cur_buf ) < 0 ) {
/* some drivers return EIO when there is no signal */
if( errno != EIO ) {

Privacy Policy