From dc155d1442f5f558f018a897f0dd04e7c7086613 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 8 Jan 2013 22:25:04 +0100 Subject: [PATCH] gst-plugins-good: add patch to fix v4l plugin with 3.5.x linux headers. --- ...ith-recent-kernels-the-v4l2_buffer-i.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/gst-plugins-good/patches/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch diff --git a/srcpkgs/gst-plugins-good/patches/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch b/srcpkgs/gst-plugins-good/patches/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch new file mode 100644 index 0000000000..ac783ffc6d --- /dev/null +++ b/srcpkgs/gst-plugins-good/patches/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch @@ -0,0 +1,24 @@ +Upstream-Status: Backport + +[1] http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9f2aa8d47f835ea155aaf635f618c0fc1ca87012 + +Signed-off-by: Andreas Müller +--- + sys/v4l2/gstv4l2bufferpool.c | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index b81c6a4..51cc0ce 100644 +--- sys/v4l2/gstv4l2bufferpool.c ++++ sys/v4l2/gstv4l2bufferpool.c +@@ -181,7 +181,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps) + 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, +-- +1.7.6.5 +