dshowsrcwrapper: add debug category for general dshowsrcwrapper

https://bugzilla.gnome.org/show_bug.cgi?id=797338
This commit is contained in:
Joshua M. Doe 2018-10-11 11:17:11 -04:00 committed by Nirbheek Chauhan
parent 08d1e817d0
commit 1569264d1e
2 changed files with 9 additions and 0 deletions

View file

@ -24,6 +24,9 @@
#include "gstdshow.h"
#include "gstdshowfakesink.h"
GST_DEBUG_CATEGORY_EXTERN (dshowsrcwrapper_debug);
#define GST_CAT_DEFAULT dshowsrcwrapper_debug
const GUID MEDIASUBTYPE_I420
= { 0x30323449, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B,
0x71}

View file

@ -26,6 +26,9 @@
#include "gstdshowaudiosrc.h"
#include "gstdshowvideosrc.h"
GST_DEBUG_CATEGORY (dshowsrcwrapper_debug);
#define GST_CAT_DEFAULT dshowsrcwrapper_debug
static gboolean
plugin_init (GstPlugin * plugin)
{
@ -35,6 +38,9 @@ plugin_init (GstPlugin * plugin)
GST_RANK_NONE, GST_TYPE_DSHOWVIDEOSRC))
return FALSE;
GST_DEBUG_CATEGORY_INIT (dshowsrcwrapper_debug, "dshowsrcwrapper", 0,
"DirectShow source wrapper");
return TRUE;
}