summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-12-03 14:34:56 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-12-03 14:34:56 +0100
commit034757e936c2150ca706029f9b4fb58ca9040b90 (patch)
tree61f2d52ad5bb24b691a89f41e2499106e1233d9d
parent6450d87c63daae107f2f3c7a1d954b6616f17a15 (diff)
downloadgstreamer-plugins-bad-034757e936c2150ca706029f9b4fb58ca9040b90.tar.gz
openni2src: Use debug category properly
-rw-r--r--ext/openni2/gstopenni2src.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/openni2/gstopenni2src.cpp b/ext/openni2/gstopenni2src.cpp
index 59e2648f4..a1bcf20ce 100644
--- a/ext/openni2/gstopenni2src.cpp
+++ b/ext/openni2/gstopenni2src.cpp
@@ -43,6 +43,7 @@
#include "gstopenni2src.h"
GST_DEBUG_CATEGORY_STATIC (openni2src_debug);
+#define GST_CAT_DEFAULT openni2src_debug
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -112,9 +113,10 @@ static GstFlowReturn openni2_read_gstbuffer (GstOpenni2Src * src,
static void openni2_finalise (GstOpenni2Src * src);
#define parent_class gst_openni2_src_parent_class
-G_DEFINE_TYPE (GstOpenni2Src, gst_openni2_src, GST_TYPE_PUSH_SRC)
+G_DEFINE_TYPE (GstOpenni2Src, gst_openni2_src, GST_TYPE_PUSH_SRC);
- static void gst_openni2_src_class_init (GstOpenni2SrcClass * klass)
+static void
+gst_openni2_src_class_init (GstOpenni2SrcClass * klass)
{
GObjectClass *gobject_class;
GstPushSrcClass *pushsrc_class;
@@ -406,7 +408,7 @@ gst_openni2src_plugin_init (GstPlugin * plugin)
static gboolean
-openni2_initialise_library ()
+openni2_initialise_library (void)
{
openni::Status rc = openni::STATUS_OK;
rc = openni::OpenNI::initialize ();