summaryrefslogtreecommitdiff
path: root/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-10-24 16:32:17 +0000
committerChris Rees <crees@FreeBSD.org>2012-10-24 16:32:17 +0000
commite60f4e63a51818bc5268d4d508ff180070b4731f (patch)
treeaaabd96a25061773bbc6f4b525e6d74b65344273 /multimedia/mplayer2/files/patch-stream-tvi_v4l.c
parent- Update to 0.4.0 (diff)
MPlayer2 is an advanced general-purpose video player.
A fork of the original MPlayer project, it contains significant further development and supports a number of features not available in other Unix players. WWW: http://www.mplayer2.org/ PR: ports/163438 Submitted by: Grzegorz Blach <magik@roorback.net> Feature safe: yes
Diffstat (limited to 'multimedia/mplayer2/files/patch-stream-tvi_v4l.c')
-rw-r--r--multimedia/mplayer2/files/patch-stream-tvi_v4l.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/mplayer2/files/patch-stream-tvi_v4l.c b/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
new file mode 100644
index 000000000000..f2ed47905057
--- /dev/null
+++ b/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
@@ -0,0 +1,17 @@
+--- stream/tvi_v4l.c 2007-10-07 23:49:26.000000000 +0400
++++ stream/tvi_v4l.c 2010-01-27 13:42:17.781746063 +0300
+@@ -48,6 +48,14 @@
+
+ #include "audio_in.h"
+
++#include <libv4l1.h>
++#define open v4l1_open
++#define close v4l1_close
++#define dup v4l1_dup
++#define ioctl v4l1_ioctl
++#define mmap v4l1_mmap
++#define munmap v4l1_munmap
++
+ static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param);
+
+ tvi_info_t tvi_info_v4l = {