summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dshowdecwrapper/gstdshowdecwrapper.cpp6
-rw-r--r--sys/dshowdecwrapper/gstdshowfakesrc.cpp3
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/dshowdecwrapper/gstdshowdecwrapper.cpp b/sys/dshowdecwrapper/gstdshowdecwrapper.cpp
index 84ee0bc2e..536e6c749 100644
--- a/sys/dshowdecwrapper/gstdshowdecwrapper.cpp
+++ b/sys/dshowdecwrapper/gstdshowdecwrapper.cpp
@@ -50,6 +50,9 @@
#include "gstdshowaudiodec.h"
#include "gstdshowvideodec.h"
+GST_DEBUG_CATEGORY (dshowdec_debug);
+#define GST_CAT_DEFAULT dshowdec_debug
+
static gboolean
plugin_init (GstPlugin * plugin)
{
@@ -59,6 +62,9 @@ plugin_init (GstPlugin * plugin)
if (!dshow_vdec_register (plugin))
return FALSE;
+ GST_DEBUG_CATEGORY_INIT (dshowdec_debug, "dshowdec", 0, \
+ "DirectShow decoder");
+
return TRUE;
}
diff --git a/sys/dshowdecwrapper/gstdshowfakesrc.cpp b/sys/dshowdecwrapper/gstdshowfakesrc.cpp
index 170e9ed89..12a3f7720 100644
--- a/sys/dshowdecwrapper/gstdshowfakesrc.cpp
+++ b/sys/dshowdecwrapper/gstdshowfakesrc.cpp
@@ -21,6 +21,9 @@
#include "gstdshowfakesrc.h"
+GST_DEBUG_CATEGORY_EXTERN (dshowdec_debug);
+#define GST_CAT_DEFAULT dshowdec_debug
+
const GUID CLSID_DecodeFakeSrc =
{ 0x039527db, 0x6b48, 0x45a7, { 0xab, 0xcf, 0x21, 0xab, 0xc5, 0x44, 0xbb, 0xb6} };