qmlglsink plugin problem

Jani Koskimaa jani.koskimaa at gmail.com
Sun Oct 30 20:16:56 UTC 2016


I managed to solve this. I had two issues. At first, I was compiling
gstreamer plugins against different version of Qt than I was using for my
application and qml example. After I fixed Qt version qml example start
working.

Second issue.. I was starting pipeline too early, before player window was
shown (openglContext doesn't exist then). I just need to delay pipeline
start.

2016-10-29 13:41 GMT+03:00 Jani Koskimaa <jani.koskimaa at gmail.com>:

> Hi
>
> I am trying to use qmlglsink in my application. I get following errors:
>
> 0:00:07.725866162 15410 0x6de750 ERROR qtglutility
> gstqtglutility.cc:145:gst_qt_get_gl_wrapcontext: Unknown platform
>
> 0:00:07.725930976 15410 0x6de750 ERROR qtglwidget
> qtitem.cc:308:qt_item_init_winsys: 0xa1b690 failed to retrieve wrapped
> context (NULL)
>
> 0:00:07.725952786 15410 0x6de750 WARN qtsink gstqtsink.cc:325:gst_qt_sink_change_state:<qtsink0>
> error: Could not initialize window system
>
>
> Also gst-plugins-bad Qt example (gst-plugins-bad/tests/examples/qt/qml)
> give me very same error. If I add defines GST_GL_HAVE_WINDOW_X11 and
> HAVE_QT_X11 to pro file the first error will go away.
>
>
> I am using F24. Gstreamer version seem to be 1.8.3 (some packages are
> 1.8.2). Gstreamer-plugins-bad (branch 1.8) is cloned from
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad. Qt version is
> 5.6.1.
>
>
> How to get this work?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161030/f40b635f/attachment.html>


More information about the gstreamer-devel mailing list