gldisplay: Fix assert caused by missing debug category
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 30 Mar 2017 03:45:21 +0000 (23:45 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:27 +0000 (19:32 +0000)
gst-libs/gst/gl/wayland/gstgldisplay_wayland.c

index 6654280..e466fb4 100644 (file)
@@ -39,6 +39,8 @@ registry_handle_global (void *data, struct wl_registry *registry,
 {
   GstGLDisplayWayland *display = data;
 
+  GST_DEBUG_CATEGORY_GET (gst_gl_display_debug, "gldisplay");
+
   GST_TRACE_OBJECT (display, "registry_handle_global with registry %p, "
       "interface %s, version %u", registry, interface, version);