From patchwork Wed Feb 27 11:45:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [1/4] add fix for gst plugins good for newer kernels. Removes debug line => backwards compatible From: christian.braunersorensen@prevas.dk X-Patchwork-Id: 223585 Message-Id: <145efc703390d99bb1c43f6070abc504f9e1b42c.1361965429.git.christian.braunersorensen@prevas.dk> To: Date: Wed, 27 Feb 2013 11:45:01 +0000 From: Christian Sørensen --- ...-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch | 15 +++++++++++++++ recipes/gstreamer/gst-plugins-good_0.10.31.oe | 1 + 2 files changed, 16 insertions(+) create mode 100644 recipes/gstreamer/gst-plugins-good/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch diff --git a/recipes/gstreamer/gst-plugins-good/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch b/recipes/gstreamer/gst-plugins-good/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch new file mode 100644 index 0000000..baa1bc9 --- /dev/null +++ b/recipes/gstreamer/gst-plugins-good/0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch @@ -0,0 +1,15 @@ +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index b81c6a4..51cc0ce 100644 +--- a/sys/v4l2/gstv4l2bufferpool.c ++++ b/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 + diff --git a/recipes/gstreamer/gst-plugins-good_0.10.31.oe b/recipes/gstreamer/gst-plugins-good_0.10.31.oe index f395067..8ad1e83 100644 --- a/recipes/gstreamer/gst-plugins-good_0.10.31.oe +++ b/recipes/gstreamer/gst-plugins-good_0.10.31.oe @@ -1,3 +1,4 @@ LICENSE = "LGPL-2.1+" require ${PN}.inc +SRC_URI += "file://0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch"