waylandsink: apply the same debug category to all the subobjects

This commit is contained in:
George Kiagiadakis 2014-02-13 13:28:40 +01:00
parent ac9503ed65
commit 350d919719
4 changed files with 12 additions and 0 deletions

View file

@ -34,6 +34,9 @@
#include <sys/mman.h>
#include <sys/types.h>
GST_DEBUG_CATEGORY_EXTERN (gstwayland_debug);
#define GST_CAT_DEFAULT gstwayland_debug
/* wl metadata */
GType
gst_wl_meta_api_get_type (void)

View file

@ -26,6 +26,9 @@
#include <errno.h>
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);

View file

@ -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;

View file

@ -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);