mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:06:12 +00:00
dshowsrcwrapper: add debug category for general dshowsrcwrapper
https://bugzilla.gnome.org/show_bug.cgi?id=797338
This commit is contained in:
parent
08d1e817d0
commit
1569264d1e
2 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
||||||
#include "gstdshow.h"
|
#include "gstdshow.h"
|
||||||
#include "gstdshowfakesink.h"
|
#include "gstdshowfakesink.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_EXTERN (dshowsrcwrapper_debug);
|
||||||
|
#define GST_CAT_DEFAULT dshowsrcwrapper_debug
|
||||||
|
|
||||||
const GUID MEDIASUBTYPE_I420
|
const GUID MEDIASUBTYPE_I420
|
||||||
= { 0x30323449, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B,
|
= { 0x30323449, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B,
|
||||||
0x71}
|
0x71}
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
#include "gstdshowaudiosrc.h"
|
#include "gstdshowaudiosrc.h"
|
||||||
#include "gstdshowvideosrc.h"
|
#include "gstdshowvideosrc.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY (dshowsrcwrapper_debug);
|
||||||
|
#define GST_CAT_DEFAULT dshowsrcwrapper_debug
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
@ -35,6 +38,9 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_RANK_NONE, GST_TYPE_DSHOWVIDEOSRC))
|
GST_RANK_NONE, GST_TYPE_DSHOWVIDEOSRC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (dshowsrcwrapper_debug, "dshowsrcwrapper", 0,
|
||||||
|
"DirectShow source wrapper");
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue