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-19 17:28:41 -0300
commit5464b071dda99d05c7ced670bb3155f89b9154a0 (patch)
treedf8ef2b880e9430ac41fd60105ffd6a4dca4645e /recipes-qt
parentd142c54fa5b20aa400f49e6e43259f1ebc739df5 (diff)
downloadmeta-fsl-arm-5464b071dda99d05c7ced670bb3155f89b9154a0.tar.gz
meta-fsl-arm-5464b071dda99d05c7ced670bb3155f89b9154a0.tar.bz2
meta-fsl-arm-5464b071dda99d05c7ced670bb3155f89b9154a0.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()
{