qtmultimedia: Fix crash when use Gstreamer 0.10 plugin
authorMingtao Qu <zarelaky@hotmail.com>
Thu, 18 Dec 2014 07:31:08 +0000 (15:31 +0800)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 24 Jul 2015 16:42:07 +0000 (13:42 -0300)
commit448587c98c82877edbe788b246d7e89a9c43c190
tree8c87bcca187c839b896e7b85b6750f96614efca8
parentcf09e55e7af40442f39e78f337d071ea2faf6c78
qtmultimedia: Fix crash when use Gstreamer 0.10 plugin

In QVideoSurfaceGstSink::get_caps(), when use 0.10 version Gstreamer,
It create GstCap with a wrong type (G_TYPE_STRING) of parameter 'format',
a g_strcpy exception will be found.
This patch fixes the parameter type to use GST_TYPE_FOURCC as expacted.

(From meta-qt5 rev: 46c76e43e73d914b5833e93b2a0fa7b5a8d00002)

Signed-off-by: Mingtao Qu <zarelaky@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
meta-qt5/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch