dshowdecwrapper: initialize debug properly

This commit is contained in:
Andoni Morales Alastruey 2012-05-29 10:48:03 -07:00 committed by Sebastian Dröge
parent 7ed605b375
commit 1bcb49bcce
2 changed files with 9 additions and 0 deletions

View file

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

View file

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