<div dir="ltr"><div dir="ltr">Hi Bodo,<br><div><br></div><div>How do you start your pipeline?</div><div><br></div><div>Thanks,</div><div>Ilya</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 1, 2019 at 3:10 PM realBohd2 <<a href="mailto:realsfg@gmx.de">realsfg@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Just to make sure, I'm replying myself here, as the mailing wrapped the email<br>
in a HTML attachment...<br>
<br>
Original message:<br>
<br>
Hi all,<br>
<br>
currently I'm trying to display a simple gstreamer stream within a QT<br>
Application.<br>
<br>
The stream basically does:<br>
videotestsrc ! glupload ! qmlglsink<br>
<br>
This is working fine on a x86 host machine but does not work on the target<br>
ARM machine.<br>
<br>
When running the binary there we get:<br>
WARN glcontext gstglcontext.c:495:gst_gl_context_get_current_gl_context:<br>
Could not retrieve current context<br>
ERROR qtglutility gstqtglutility.cc:158:gst_qt_get_gl_wrapcontext: cannot<br>
wrap qt OpenGL context (NULL)<br>
<br>
This is caused when loading the qml file:<br>
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));<br>
<br>
The main.qml features a GstGLVideoItem based on:<br>
import org.freedesktop.gstreamer.GLVideoItem 1.0<br>
<br>
May it be that the context simply isn't initialized at this moment?<br>
Or can this be some kind of a version mismatch?<br>
<br>
QMake version 3.1<br>
Using Qt version 5.12.3<br>
GStreamer 1.8.3<br>
<br>
Remark: the qmlglsink is self-build from the 1.8.3 branch of the<br>
gst-plugins-bad.<br>
<br>
Any help is appreciated.<br>
<br>
Thanks,<br>
Bodo<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div>