diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-05-26 17:13:13 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-28 10:35:13 +0200 |
commit | fa01c2614a4e58937cd73d0f5d8b17df935bc5b5 (patch) | |
tree | f7396d3f5a6031632de8290d4006041ee2e59630 /meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-openmax/ptr-array.patch | |
parent | 175406cdca39bf5b218bb4127a3e9c9bd11b653f (diff) | |
download | meta-openembedded-fa01c2614a4e58937cd73d0f5d8b17df935bc5b5.tar.gz |
gstreamear: rename directory to gstreamer-0.10
* gst-plugins-gl: fix the path to a required include
* so that it's clear that the recipes it contains are specific to the
obsolete, unmaintained version of gstreamer.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-openmax/ptr-array.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-openmax/ptr-array.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-openmax/ptr-array.patch b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-openmax/ptr-array.patch new file mode 100644 index 0000000000..5965bbafbb --- /dev/null +++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-openmax/ptr-array.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | Rename static functions that use GLib naming conventions as one of them | ||
2 | (g_ptr_array_insert) has now been added to GLib. | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
6 | |||
7 | diff --git a/omx/gstomx_util.c b/omx/gstomx_util.c | ||
8 | index 423e441..579dbf5 100644 | ||
9 | --- a/omx/gstomx_util.c | ||
10 | +++ b/omx/gstomx_util.c | ||
11 | @@ -85,7 +85,7 @@ static gboolean initialized; | ||
12 | */ | ||
13 | |||
14 | static void | ||
15 | -g_ptr_array_clear (GPtrArray * array) | ||
16 | +omx_g_ptr_array_clear (GPtrArray * array) | ||
17 | { | ||
18 | guint index; | ||
19 | for (index = 0; index < array->len; index++) | ||
20 | @@ -93,7 +93,7 @@ g_ptr_array_clear (GPtrArray * array) | ||
21 | } | ||
22 | |||
23 | static void | ||
24 | -g_ptr_array_insert (GPtrArray * array, guint index, gpointer data) | ||
25 | +omx_g_ptr_array_insert (GPtrArray * array, guint index, gpointer data) | ||
26 | { | ||
27 | if (index + 1 > array->len) { | ||
28 | g_ptr_array_set_size (array, index + 1); | ||
29 | @@ -394,7 +394,7 @@ g_omx_core_unload (GOmxCore * core) | ||
30 | } | ||
31 | |||
32 | core_for_each_port (core, g_omx_port_free); | ||
33 | - g_ptr_array_clear (core->ports); | ||
34 | + omx_g_ptr_array_clear (core->ports); | ||
35 | } | ||
36 | |||
37 | static inline GOmxPort * | ||
38 | @@ -418,7 +418,7 @@ g_omx_core_new_port (GOmxCore * core, guint index) | ||
39 | } | ||
40 | |||
41 | port = g_omx_port_new (core, index); | ||
42 | - g_ptr_array_insert (core->ports, index, port); | ||
43 | + omx_g_ptr_array_insert (core->ports, index, port); | ||
44 | |||
45 | return port; | ||
46 | } | ||