dshowdecwrapper: initialize debug properly
This commit is contained in:
parent
7ed605b375
commit
1bcb49bcce
@ -50,6 +50,9 @@
|
|||||||
#include "gstdshowaudiodec.h"
|
#include "gstdshowaudiodec.h"
|
||||||
#include "gstdshowvideodec.h"
|
#include "gstdshowvideodec.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY (dshowdec_debug);
|
||||||
|
#define GST_CAT_DEFAULT dshowdec_debug
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
@ -59,6 +62,9 @@ plugin_init (GstPlugin * plugin)
|
|||||||
if (!dshow_vdec_register (plugin))
|
if (!dshow_vdec_register (plugin))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (dshowdec_debug, "dshowdec", 0, \
|
||||||
|
"DirectShow decoder");
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
|
|
||||||
#include "gstdshowfakesrc.h"
|
#include "gstdshowfakesrc.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_EXTERN (dshowdec_debug);
|
||||||
|
#define GST_CAT_DEFAULT dshowdec_debug
|
||||||
|
|
||||||
const GUID CLSID_DecodeFakeSrc =
|
const GUID CLSID_DecodeFakeSrc =
|
||||||
{ 0x039527db, 0x6b48, 0x45a7, { 0xab, 0xcf, 0x21, 0xab, 0xc5, 0x44, 0xbb, 0xb6} };
|
{ 0x039527db, 0x6b48, 0x45a7, { 0xab, 0xcf, 0x21, 0xab, 0xc5, 0x44, 0xbb, 0xb6} };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user