QML, Qt-GStreamer-1.2, dynamic loading VideoItem

Dmitry Pozhidaev dm.pozhidaev at gmail.com
Wed Oct 21 07:35:00 PDT 2015


I use gstreamer 1.6 at x86 and at buildroot for IMX6 Freescale.

I have multiple components loaded by Loader and the loader is single. I
need sometimes load and unload component with VideoItem. And this cause
updateNode with ""create new VideoNode". C++ code is stable and I just
setState for pipeline Paused or Running. When state is paused - I unload
component with VideoNode :) IMHO this is such a regular situation is
strange that there is a bug )

2015-10-21 17:10 GMT+03:00 rspruyt <Randy.Spruyt at christiedigital.com>:

> I don't have the code infront of me at the moment, but with the gstreamer
> 1.5
> and Qt-GStreamer-1.2 I am able to creating multiple items. Just off the
> top,
> it could be that you are binding
> m_contextQml->setContextProperty(QLatin1String("testVideoSurface"),
> m_surface); to each surface that you create. Hence the 2nd surface has the
> same context as the first. Just a theory it's been a while since I looked
> at
> this.
>
> If this doesn't work, isolate whether this is a pipeline issue or a
> gstreamer issue, consider simplifying the pipeline to a simple playbin,
> make
> sure it works in gst-launch-1.0, the use the same playbin programatically.
> See if you can create multiple elements.
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/QML-Qt-GStreamer-1-2-dynamic-loading-VideoItem-tp4674193p4674194.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151021/3d1a7f38/attachment.html>


More information about the gstreamer-devel mailing list