QML MediaPlayer shows gstreamer pipeline in second window
Unsolved
Qt for Python
-
Re: QMediaPlayer Video Opens Second Window. Only One Desired. GStreamer Pipeline URI
Hello, I'm using MediaPlayer and VideoOuput component to visualize a gstreamer pipeline. The relevant part of my QML code is the following:
MediaPlayer{ id: playVideo videoOutput: videoOutput source: backend.CurrentPipeline } VideoOutput{ id: videoOutput }
When I use as source a gstreamer pipeline with qtvideosink, the stream is correctly visualized in the application window. If, instead, I use another sink, like for example xvimagesink, another window pops up with the pipeline stream.
This happens also if I set the sink name property to "qtvideosink". How can I avoid this and visualize the pipeline stream inside the videooutput component also with other sinks apart from qtvideosink?
Thank you very much