From 5464b071dda99d05c7ced670bb3155f89b9154a0 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Thu, 7 Feb 2013 11:41:14 -0600 Subject: 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 --- .../qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3-54-g00ecf