can not display a video with gstreamer pipeline + qml sink within qwidgets layout

cfd new newcfd at yahoo.com
Fri Feb 17 19:13:58 UTC 2023


I am trying to use qml sink inside a qwidget and play video with a gstreamer pipeline. What I am doing is to load a qml sinkand lay it out in a simple qwidget. 

When I start to play the video, I get the following error:

error Could not initialize window system

Debugging info: gstqtsink.cc(309): gst_qt_sink_change_state (): /GstGLSinkBin:glsinkbin0/GstQtSink:sink

Pure qml code works fine. What is wrong?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230217/42c7c9d7/attachment.htm>


More information about the gstreamer-devel mailing list