aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tvtime/patches/dqbuf-fix.patch
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-11 19:45:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:45:45 +0200
commit34a25ea70f92d32b4a331c7198fea2c65943a86f (patch)
tree62621dbdfdc85e3fc1b87094c0bffe91aadc9579 /multimedia/tvtime/patches/dqbuf-fix.patch
parent38cadd7ce978d94a2dd49a05eeb3f37ebfa3760a (diff)
multimedia/tvtime: Updated for version 1.0.2
Diffstat (limited to 'multimedia/tvtime/patches/dqbuf-fix.patch')
-rw-r--r--multimedia/tvtime/patches/dqbuf-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/tvtime/patches/dqbuf-fix.patch b/multimedia/tvtime/patches/dqbuf-fix.patch
new file mode 100644
index 0000000000000..b875d21d32372
--- /dev/null
+++ b/multimedia/tvtime/patches/dqbuf-fix.patch
@@ -0,0 +1,11 @@
+diff -Nur tvtime-1.0.2-old/src/videoinput.c tvtime-1.0.2/src/videoinput.c
+--- tvtime-1.0.2-old/src/videoinput.c 2007-07-08 14:29:13.539465861 +0300
++++ tvtime-1.0.2/src/videoinput.c 2007-07-08 14:42:32.776963292 +0300
+@@ -377,6 +377,7 @@
+ 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 ) {