summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2016-02-18 16:21:38 +0000
committerJulien Isorce <j.isorce@samsung.com>2016-02-18 16:38:31 +0000
commit0da3390692f023e7fbabbf8b7ee86c271a2bc1f0 (patch)
tree63356181549f0fb1dc6eb420a2c58c4fa8287c97 /gst-libs/gst
parent22e75a2112ee2cca9e729b4e30727605689e6b07 (diff)
downloadgstreamer-plugins-bad-0da3390692f023e7fbabbf8b7ee86c271a2bc1f0.tar.gz
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
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/gl/gstgldebug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstgldebug.c b/gst-libs/gst/gl/gstgldebug.c
index c54d7450a..2b9a01fc6 100644
--- a/gst-libs/gst/gl/gstgldebug.c
+++ b/gst-libs/gst/gl/gstgldebug.c
@@ -333,6 +333,8 @@ gst_gl_insert_debug_marker (GstGLContext * context, const gchar * format, ...)
gint len;
va_list args;
+ _init_debug ();
+
/* are we enabled */
if (gst_debug_category_get_threshold (gst_gl_marker_debug) < GST_LEVEL_FIXME)
return;