From 350d91971944ae76b609577a8d9fe25d3a761641 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Thu, 13 Feb 2014 13:28:40 +0100 Subject: [PATCH] waylandsink: apply the same debug category to all the subobjects --- ext/wayland/waylandpool.c | 3 +++ ext/wayland/wldisplay.c | 3 +++ ext/wayland/wlvideoformat.c | 3 +++ ext/wayland/wlwindow.c | 3 +++ 4 files changed, 12 insertions(+) diff --git a/ext/wayland/waylandpool.c b/ext/wayland/waylandpool.c index 9410572..577183b 100644 --- a/ext/wayland/waylandpool.c +++ b/ext/wayland/waylandpool.c @@ -34,6 +34,9 @@ #include #include +GST_DEBUG_CATEGORY_EXTERN (gstwayland_debug); +#define GST_CAT_DEFAULT gstwayland_debug + /* wl metadata */ GType gst_wl_meta_api_get_type (void) diff --git a/ext/wayland/wldisplay.c b/ext/wayland/wldisplay.c index 13708ce..5445251 100644 --- a/ext/wayland/wldisplay.c +++ b/ext/wayland/wldisplay.c @@ -26,6 +26,9 @@ #include +GST_DEBUG_CATEGORY_EXTERN (gstwayland_debug); +#define GST_CAT_DEFAULT gstwayland_debug + G_DEFINE_TYPE (GstWlDisplay, gst_wl_display, G_TYPE_OBJECT); static void gst_wl_display_finalize (GObject * gobject); diff --git a/ext/wayland/wlvideoformat.c b/ext/wayland/wlvideoformat.c index eedd1b3..075551f 100644 --- a/ext/wayland/wlvideoformat.c +++ b/ext/wayland/wlvideoformat.c @@ -27,6 +27,9 @@ #include "wlvideoformat.h" +GST_DEBUG_CATEGORY_EXTERN (gstwayland_debug); +#define GST_CAT_DEFAULT gstwayland_debug + typedef struct { enum wl_shm_format wl_format; diff --git a/ext/wayland/wlwindow.c b/ext/wayland/wlwindow.c index 79a5a22..c6d3add 100644 --- a/ext/wayland/wlwindow.c +++ b/ext/wayland/wlwindow.c @@ -26,6 +26,9 @@ #include "wlwindow.h" +GST_DEBUG_CATEGORY_EXTERN (gstwayland_debug); +#define GST_CAT_DEFAULT gstwayland_debug + G_DEFINE_TYPE (GstWlWindow, gst_wl_window, G_TYPE_OBJECT); static void gst_wl_window_finalize (GObject * gobject); -- 2.7.4