<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div>
<div> </div>
<div>currently I'm trying to display a simple gstreamer stream within a QT Application.</div>
<div> </div>
<div>The stream basically does:</div>
<div>videotestsrc ! glupload ! qmlglsink</div>
<div> </div>
<div>This is working fine on a x86 host machine but does not work on the target ARM machine.</div>
<div> </div>
<div>When running the binary there we get:</div>
<div><em>WARN glcontext gstglcontext.c:495:gst_gl_context_get_current_gl_context: Could not retrieve current context<br/>
ERROR qtglutility <a href="http://gstqtglutility.cc:158/" rel="nofollow">gstqtglutility.cc:158</a>:gst_qt_get_gl_wrapcontext: cannot wrap qt OpenGL context (NULL)</em></div>
<div> </div>
<div>This is caused when loading the qml file:</div>
<div><em>engine.load(QUrl(QStringLiteral("qrc:/main.qml")));</em></div>
<div> </div>
<div>The main.qml features a GstGLVideoItem based on:</div>
<div><em>import org.freedesktop.gstreamer.GLVideoItem 1.0</em></div>
<div> </div>
<div>May it be that the context simply isn't initialized at this moment?</div>
<div>Or can this be some kind of a version mismatch?</div>
<div> </div>
<div>QMake version 3.1</div>
<div>Using Qt version 5.12.3</div>
<div>GStreamer 1.8.3</div>
<div> </div>
<div>Remark: the qmlglsink is self-build from the 1.8.3 branch of the gst-plugins-bad.</div>
<div> </div>
<div>Any help is appreciated.</div>
<div> </div>
<div>Thanks,</div>
<div>Bodo</div></div></body></html>