aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-08-30 16:18:01 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 09:58:27 +0100
commit0190736ef89447b81ab9a95e83ec205c5c1f4618 (patch)
treef2acfeabcf9eaafe5f3fe3bd0f2c18a555ff81bd /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad
parent6858df73073d32f6301b2302ae563670e32db134 (diff)
downloadopenembedded-core-contrib-0190736ef89447b81ab9a95e83ec205c5c1f4618.tar.gz
gstreamer1.0: upgrade to 1.8.3
1.8.2 -> 1.8.3 Remove backported patch from 1.8.3: 0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad')
-rwxr-xr-xmeta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch
deleted file mode 100755
index 90bfba990c..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 43549773608b4f58dc664b7115a1ef0dcb32f251 Mon Sep 17 00:00:00 2001
-From: Haihua Hu <jared.hu@nxp.com>
-Date: Tue, 14 Jun 2016 13:48:09 +0800
-Subject: [PATCH 1/2] [glplugin]gleffects: fix little rectangel appears at the
- center when use squeeze and tunnel effects
-
-These two shader will calculate the verctor length and use it as denominator.
-But length could be zero which will cause undefine behaviour. Add protection for
-this condition
-
-Upstream-Status: Backport [1.8.3]
-
-https://bugzilla.gnome.org/show_bug.cgi?id=767635
-
-Signed-off-by: Haihua Hu <jared.hu@nxp.com>
----
- ext/gl/effects/gstgleffectssources.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/ext/gl/effects/gstgleffectssources.c b/ext/gl/effects/gstgleffectssources.c
-index 6bdc155..3e87b8b 100644
---- a/ext/gl/effects/gstgleffectssources.c
-+++ b/ext/gl/effects/gstgleffectssources.c
-@@ -100,7 +100,8 @@ const gchar *squeeze_fragment_source_gles2 =
- "void main () {"
- " vec2 texturecoord = v_texcoord.xy;"
- " vec2 normcoord = texturecoord - 0.5;"
-- " float r = length (normcoord);"
-+ /* Add a very small value to length otherwise it could be 0 */
-+ " float r = length (normcoord)+0.01;"
- " r = pow(r, 0.40)*1.3;"
- " normcoord = normcoord / r;"
- " texturecoord = (normcoord + 0.5);"
-@@ -136,7 +137,8 @@ const gchar *tunnel_fragment_source_gles2 =
- * rect textures */
- " normcoord = (texturecoord - 0.5);"
- " float r = length(normcoord);"
-- " normcoord *= clamp (r, 0.0, 0.275) / r;"
-+ " if (r > 0.0)"
-+ " normcoord *= clamp (r, 0.0, 0.275) / r;"
- " texturecoord = normcoord + 0.5;"
- " gl_FragColor = texture2D (tex, texturecoord);"
- "}";
---
-1.9.1
-