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

cfd new newcfd at
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: 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: <>

More information about the gstreamer-devel mailing list