mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
gldebug: make sure debug is initialized when calling gst_gl_insert_debug_marker
Usually gl debug is initialized in gst_gl_context_create_thread. But this function is not used when using the GstGLContextGPUProcess from ChromiumGStreamerBackend. Received signal 11 SEGV_MAPERR 000000000000 gst_debug_category_get_threshold gst_gl_insert_debug_marker gst_gl_base_filter_gl_start
This commit is contained in:
parent
22e75a2112
commit
0da3390692
1 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,8 @@ gst_gl_insert_debug_marker (GstGLContext * context, const gchar * format, ...)
|
||||||
gint len;
|
gint len;
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
|
_init_debug ();
|
||||||
|
|
||||||
/* are we enabled */
|
/* are we enabled */
|
||||||
if (gst_debug_category_get_threshold (gst_gl_marker_debug) < GST_LEVEL_FIXME)
|
if (gst_debug_category_get_threshold (gst_gl_marker_debug) < GST_LEVEL_FIXME)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue