Using "glimagesink" causes error on Android?

Liru7 lukas.riezler at googlemail.com
Tue Jul 14 04:14:26 PDT 2015


Hey GStreamers!

Information about my developement environment:

--- Host = Linux, Gstreamer 1.0, Qt/C++, developig for Android ---

I'd like to add my video output to a specified widget in Qt (for example
GraphicsView or OpenGLWidget)...so I decided to use use "glimagesink"
because its description seems to be perfect for my purposes. But if I try to
use this sink in my Qt application the following error occurs:

*F/libc (839): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x5d in tid 872
(gstglcontext)*

It seems to have sth. to do with gstglcontext and threading? In the
description of gstglcontext I've read the following:

/GstGLContext wraps an OpenGL context object in a uniform API. As a result
of the limitation on OpenGL context, this object is not thread safe unless
specified and must only be activated in a single thread.
/

Does anybody know how I have to handle this problem? Do I have to create a
instance of gstglcontext before using glimagesink? Are there any examples
available?

Best regards,
Liru



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-glimagesink-causes-error-on-Android-tp4672667.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list