sink to qt surface

Mathias Hasselmann mathias.hasselmann at kdab.com
Fri Dec 11 04:26:34 PST 2015


Am 10.12.2015 um 19:15 schrieb Hamdi Rakkez:
> Yes I have Gstreamer plugins from gst-plugins-bad built and installed,
> but still , I have the same problem :/

Like the bug Sebastian linked explains the QQuickItem current doesn't 
have a proper QtQuick plugin and therefore the QQuickItem is never 
registered with QML. To work around you'll have to explicitly trigger 
the plugin's registration routine. One approach that always works is to 
create an element before loading the QML:

     GstElement *sink = gst_element_factory_make ("qmlglsink", NULL);

When linking your plugins statically the following also works:

     GST_PLUGIN_STATIC_REGISTER(qt);

Ciao,
Mathias

-- 
Mathias Hasselmann | mathias.hasselmann at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4073 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151211/e57bd6e3/attachment.bin>


More information about the gstreamer-devel mailing list