aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@freescale.com>2013-02-07 11:41:14 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2013-02-08 12:38:50 -0200
commitc2cbd977ee7ffa53f715222a13feec599b9836d1 (patch)
tree967d158943e534c0a13520db178ffd52bad91176 /recipes-qt
parentfaaa561fdce2cdaebfd9d45fe647f854328f5203 (diff)
downloadmeta-fsl-arm-c2cbd977ee7ffa53f715222a13feec599b9836d1.tar.gz
meta-fsl-arm-c2cbd977ee7ffa53f715222a13feec599b9836d1.tar.bz2
meta-fsl-arm-c2cbd977ee7ffa53f715222a13feec599b9836d1.zip
qt4: Add a unreference instruction on qt4 phonon patch
Correct the qt4 phonon patch adding a statement which unreferences an object representing the freescale video sink. Tested on a iMX6Q machine using the fsl-image-gui image. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3572 [YOCTO #3572] Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r--recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch10
1 files changed, 9 insertions, 1 deletions
diff --git a/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch b/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch
index fd6483d..1213650 100644
--- a/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch
+++ b/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch
@@ -427,7 +427,15 @@ index 968f3a8..c4662e7 100644
QT_BEGIN_NAMESPACE
namespace Phonon
-@@ -83,26 +85,8 @@ X11Renderer::~X11Renderer()
+@@ -78,31 +80,16 @@ X11Renderer::~X11Renderer()
+ {
+ m_renderWidget->setAttribute(Qt::WA_PaintOnScreen, false);
+ m_renderWidget->setAttribute(Qt::WA_NoSystemBackground, false);
++ if (m_videoSink) {
++ gst_object_unref (GST_OBJECT (m_videoSink));
++ }
+ delete m_renderWidget;
+ }
GstElement* X11Renderer::createVideoSink()
{