summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch
diff options
context:
space:
mode:
authorLauren Post <lauren.post@freescale.com>2015-12-24 15:17:11 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:25 -0300
commitff6430dca1bc13345bf4efb89dc985c61374cbe8 (patch)
treec948064428948dc0764c734846c5d26738891331 /recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch
parent77d98af8a789dd5b31ab4ca1b9e0fd1e9158a6cf (diff)
downloadmeta-freescale-ff6430dca1bc13345bf4efb89dc985c61374cbe8.tar.gz
gst1.0-fsl-plugins: Upgrade to 4.0.8 version
-Fix memory leak in overlaysink, imxv4l2sink and imxcompositor. -Fix IPU/PXP frame copying beyond the memory boundary. -Add more holding buffer number for motion 0 and 1 in imxv4l2sink to fix deinterlace failure. -Add divx support in vpudec, including 3,4,5,6. -Add video overlay composition meta support to imxvideoconvert and imxcompositor. -Remove unsupported formats for pxp 2d deivce. -Simplify the caps in pad template of imxvideoonvert/imxcompositor/overlaysink/imv4l2sink. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch')
-rw-r--r--recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch b/recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch
new file mode 100644
index 00000000..4f69c784
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gst1.0-fsl-plugin-4.0.8/0001-gst1.0-fsl-plugins-fix-appending-data-to-variable.patch
@@ -0,0 +1,46 @@
1From: Javier Viguera <javier.viguera@digi.com>
2Date: Mon, 2 Nov 2015 17:52:48 +0100
3Subject: [PATCH] gst1.0-fsl-plugins: fix appending data to variable
4
5FSL_MM_CORE_CFLAGS and FSL_MM_CORE_LIBS where concatenating data at the
6end without adding a blank space between additions.
7
8As the appended data was a result of `pkg-config` expansion, this was
9working correctly until pkg-config v0.28 because it was pkg-config who
10was adding the trailing space.
11
12But after pkg-config v0.28, specifically in this commit:
13
14http://cgit.freedesktop.org/pkg-config/commit/?id=f26a505826acec6b1e1af8d1efdf959913421c3a
15
16this is no longer true, so the configure script needs to add that space.
17
18Signed-off-by: Javier Viguera <javier.viguera@digi.com>
19---
20 configure.ac | 10 +++++-----
21 1 file changed, 5 insertions(+), 5 deletions(-)
22
23diff --git a/configure.ac b/configure.ac
24index 4da48867fafd..01bff6ca5348 100755
25--- a/configure.ac
26+++ b/configure.ac
27@@ -203,14 +203,14 @@ AC_SUBST(RT_CFLAGS)
28 AC_SUBST(RT_LIBS)
29
30 FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null`
31-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`
32-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslparser 2>/dev/null`
33-FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`
34+FSL_MM_CORE_CFLAGS+=" `$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`"
35+FSL_MM_CORE_CFLAGS+=" `$PKG_CONFIG --cflags libfslparser 2>/dev/null`"
36+FSL_MM_CORE_CFLAGS+=" `$PKG_CONFIG --cflags libfslvpuwrap 2>/dev/null`"
37 AC_SUBST(FSL_MM_CORE_CFLAGS)
38
39 FSL_MM_CORE_LIBS=`$PKG_CONFIG --libs libfslaudiocodec 2>/dev/null`
40-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`
41-FSL_MM_CORE_LIBS+=`$PKG_CONFIG --libs libfslparser 2>/dev/null`
42+FSL_MM_CORE_LIBS+=" `$PKG_CONFIG --libs libfslvideocodec 2>/dev/null`"
43+FSL_MM_CORE_LIBS+=" `$PKG_CONFIG --libs libfslparser 2>/dev/null`"
44 AC_SUBST(FSL_MM_CORE_LIBS)
45
46 EXTRAPLATFORMCFLAGS="-DARM -D_GNUC_"