decklink: fix debugging in capture.cpp by making category extern

Signed-off-by: David Schleef <ds@schleef.org>
This commit is contained in:
Joshua M. Doe 2011-07-07 14:20:37 -04:00 committed by David Schleef
parent c830cf3e66
commit a18180898f
3 changed files with 3 additions and 2 deletions

View file

@ -36,6 +36,7 @@
#include "DeckLinkAPI.h"
#include "capture.h"
#define GST_CAT_DEFAULT gst_decklink_src_debug_category
int videoOutputFile = -1;
int audioOutputFile = -1;

View file

@ -41,7 +41,7 @@
#include "capture.h"
#include <string.h>
GST_DEBUG_CATEGORY_STATIC (gst_decklink_src_debug_category);
GST_DEBUG_CATEGORY (gst_decklink_src_debug_category);
#define GST_CAT_DEFAULT gst_decklink_src_debug_category
/* prototypes */

View file

@ -25,7 +25,7 @@
#include "DeckLinkAPI.h"
G_BEGIN_DECLS
GST_DEBUG_CATEGORY_EXTERN (gst_decklink_src_debug_category);
#define GST_TYPE_DECKLINK_SRC (gst_decklink_src_get_type())
#define GST_DECKLINK_SRC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DECKLINK_SRC,GstDecklinkSrc))
#define GST_DECKLINK_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DECKLINK_SRC,GstDecklinkSrcClass))