Magellan Linux

Contents of /trunk/gst-plugins-good/patches/gst-plugins-good-0.10.36-linux36.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2330 - (show annotations) (download)
Thu Dec 5 11:51:47 2013 UTC (10 years, 4 months ago) by niro
File size: 1374 byte(s)
-fixed build with nerwer linux-headers
1 From bfb1ac952b4c3caaba0297bbe7dc73ea92f9b292 Mon Sep 17 00:00:00 2001
2 From: Matthias Clasen <mclasen@redhat.com>
3 Date: Thu, 09 Aug 2012 07:35:23 +0000
4 Subject: v4l2: fix build with recent kernels, the v4l2_buffer input field was removed
5
6 This was unused apparently and removed in the kernel in commit:
7
8 From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001
9 From: Sakari Ailus <sakari.ailus@iki.fi>
10 Date: Wed, 2 May 2012 09:40:03 -0300
11 Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT
12
13 Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which
14 tells the former is valid. The flag is used by no driver currently.
15
16 https://bugzilla.gnome.org/show_bug.cgi?id=681491
17 ---
18 diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
19 index 2e3a563..5aaed5a 100644
20 --- a/sys/v4l2/gstv4l2bufferpool.c
21 +++ b/sys/v4l2/gstv4l2bufferpool.c
22 @@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps)
23 GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u",
24 ret->vbuffer.m.offset);
25 GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length);
26 - GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input);
27
28 ret->mmap_length = ret->vbuffer.length;
29 data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
30 --
31 cgit v0.9.0.2-2-gbebe