summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/patch-stream_tvi__v4l.c
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-08-23 16:41:23 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-08-23 16:41:23 +0000
commit6ea8dbba59229635685e93b330f13aed484bc167 (patch)
tree713fe93e0e00e7f5e1289be6f106e97fe425c594 /multimedia/mplayer/files/patch-stream_tvi__v4l.c
parent- Update to 4.1.0 (diff)
- Update to recent mplayer snapshot (2015-08-22)
- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg (currently on version 2.7.2) - Fix edge case assertion in av_free on 9.x/i386 upon stream close with mencoder (no change in behaviour) - Include LICENSE_FILE - Pet portlint
Notes
Notes: svn path=/head/; revision=395119
Diffstat (limited to 'multimedia/mplayer/files/patch-stream_tvi__v4l.c')
-rw-r--r--multimedia/mplayer/files/patch-stream_tvi__v4l.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-stream_tvi__v4l.c b/multimedia/mplayer/files/patch-stream_tvi__v4l.c
new file mode 100644
index 000000000000..6d418ed0d080
--- /dev/null
+++ b/multimedia/mplayer/files/patch-stream_tvi__v4l.c
@@ -0,0 +1,17 @@
+--- stream/tvi_v4l.c.orig 2013-03-17 22:47:17 UTC
++++ stream/tvi_v4l.c
+@@ -65,6 +65,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);
+
+ const tvi_info_t tvi_info_v4l = {