Commit ace4cb22 authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

videomixer: Make debugging category global to all the code.

parent 3ebf5e9a
......@@ -22,6 +22,7 @@
#include <gst/gst.h>
#include <string.h>
#include "videomixer.h"
#define BLEND_NORMAL(Y1,U1,V1,Y2,U2,V2,alpha,Y,U,V) \
Y = ((Y1*(255-alpha))+(Y2*alpha))>>8; \
......
......@@ -71,8 +71,7 @@
#include "videomixer.h"
GST_DEBUG_CATEGORY_STATIC (gst_videomixer_debug);
#define GST_CAT_DEFAULT gst_videomixer_debug
GST_DEBUG_CATEGORY (gst_videomixer_debug);
#define GST_VIDEO_MIXER_GET_STATE_LOCK(mix) \
(GST_VIDEO_MIXER(mix)->state_lock)
......
......@@ -23,6 +23,10 @@
#include <gst/gst.h>
#include "videomixerpad.h"
GST_DEBUG_CATEGORY_EXTERN (gst_videomixer_debug);
#define GST_CAT_DEFAULT gst_videomixer_debug
G_BEGIN_DECLS
#define GST_TYPE_VIDEO_MIXER (gst_videomixer_get_type())
......
......@@ -21,6 +21,7 @@
#define __GST_VIDEO_MIXER_PAD_H__
#include <gst/gst.h>
#include <gst/base/gstcollectpads.h>
G_BEGIN_DECLS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment