qml6glsink: impossible to render in parallel into 2 (or more) qml6glsinks
Create a simple QML application with 2 (or more) qml6glsinks with 2 different pipelines (see attached files).
Observed behavior
The application crashes or shows only the stream attached to the first GstGLQt6VideoItem item from the .qml file (in the test application the snow pattern.
Expected behavior
Two streams shown independently (snow and smpte patterns).
Suggested correction
I found the correction (in my case) for this problem changing the code of the destructor of GstQSGTexture (gstqsg6material.cc file) from
delete m_texture;
to
m_texture->deleteLater();
Edit: merge request ready.
I'll create a merge request soon.