#include <gst/video/video.h>
-GST_DEBUG_CATEGORY_STATIC (dshowvideosrc_debug);
+GST_DEBUG_CATEGORY_EXTERN (dshowvideosrc_debug);
#define GST_CAT_DEFAULT dshowvideosrc_debug
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
"DirectShow video capture source", "Source/Video",
"Receive data from a directshow video capture graph",
"Sebastien Moutte <sebastien@moutte.net>");
-
- GST_DEBUG_CATEGORY_INIT (dshowvideosrc_debug, "dshowvideosrc", 0,
- "Directshow video source");
-
}
static void
GST_DEBUG_CATEGORY (dshowdec_debug);
GST_DEBUG_CATEGORY (dshowsrcwrapper_debug);
+GST_DEBUG_CATEGORY (dshowvideosrc_debug);
static gboolean
plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (dshowdec_debug, "dshowdec", 0, "DirectShow decoder");
GST_DEBUG_CATEGORY_INIT (dshowsrcwrapper_debug, "dshowsrcwrapper", 0,
"DirectShow source wrapper");
+ GST_DEBUG_CATEGORY_INIT (dshowvideosrc_debug, "dshowvideosrc", 0,
+ "Directshow video source");
dshow_adec_register (plugin);
dshow_vdec_register (plugin);