[meta-freescale] [meta-fsl-arm][PATCH] qt4: Add a unreference instruction on qt4 phonon patch
Leonardo Sandoval
leonardo.sandoval at freescale.com
Thu Feb 7 09:41:14 PST 2013
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 at freescale.com>
---
...001-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()
{
--
1.7.9.5
More information about the meta-freescale
mailing list