summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-good/drop-v4l2_buffer-input.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-20 08:09:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-20 08:09:42 +0000
commitf15daafa413d519cc9d3a46c871d8dcc382106be (patch)
tree175266006ac88c7f0c10cf8093db6bfd7e11f522 /main/gst-plugins-good/drop-v4l2_buffer-input.patch
parent549aad0333b887b9852ec2128306188beb2481c2 (diff)
downloadaports-f15daafa413d519cc9d3a46c871d8dcc382106be.tar.bz2
aports-f15daafa413d519cc9d3a46c871d8dcc382106be.tar.xz
main/gst-plugins-good: build fix for new kernel headers
Diffstat (limited to 'main/gst-plugins-good/drop-v4l2_buffer-input.patch')
-rw-r--r--main/gst-plugins-good/drop-v4l2_buffer-input.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/gst-plugins-good/drop-v4l2_buffer-input.patch b/main/gst-plugins-good/drop-v4l2_buffer-input.patch
new file mode 100644
index 000000000..5db1da7b1
--- /dev/null
+++ b/main/gst-plugins-good/drop-v4l2_buffer-input.patch
@@ -0,0 +1,15 @@
+Fixes build on newer linux kernel headers
+
+Based on:
+http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9f2aa8d47f835ea155aaf635f618c0fc1ca87012
+
+--- ./sys/v4l2/gstv4l2bufferpool.c.orig
++++ ./sys/v4l2/gstv4l2bufferpool.c
+@@ -181,7 +181,6 @@
+ GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u",
+ ret->vbuffer.m.offset);
+ GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length);
+- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input);
+
+ data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
+ PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd,