Assertion of gst_pad_link_full, gst_gl_context_fill_info and gst_gl_context_create_thread

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Assertion of gst_pad_link_full, gst_gl_context_fill_info and gst_gl_context_create_thread

watanabe
Hi,

I make pipline as follows and call gst_parse_launch() to play movie files.
Most of the case it's fine, but sometimes assertions failed and my app crashed.

filesrc name=source location=<filepath> ! decodebin3 name=demux ! tee name=t !
    queue ! textoverlay name=overlay_text ! videoconvert ! glimagesink name=videosink
    t. ! queue ! jpegenc name=encode ! appsink name=appsink emit-signals=true

The log message is:

(<unknown>:627): GStreamer-CRITICAL **: 19:56:33.861: gst_pad_link_full: assertion 'GST_PAD_IS_SRC (srcpad)' failed
** (<unknown>:627): CRITICAL **: 19:56:33.874: gst_gl_context_fill_info: assertion 'context->priv->active_thread == g_thread_self ()' failed
**
ERROR:../gst-libs/gst/gl/gstglcontext.c:1284:gst_gl_context_create_thread: assertion failed: (error == NULL || *error != NULL)

What does it mean?
I hope any advice to resolve this problem.

Thanks