qmlglsink plugin problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

qmlglsink plugin problem

Jani Koskimaa
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?

 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: qmlglsink plugin problem

Jani Koskimaa
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 <[hidden email]>:
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?

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel