[PATCH 06/10] Backport UVC fix from Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From Fedora logs:
	fix #655038 - tvtime does not work with UVC webcams

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---
 src/videoinput.c |    1 +
 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 ) {
-- 
1.7.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux