aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-good/drop-v4l2_buffer-input.patch
diff options
context:
space:
mode:
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 0000000000..5db1da7b1a
--- /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,