mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
videomixer: Make debugging category global to all the code.
This commit is contained in:
parent
3ebf5e9a2a
commit
ace4cb2295
4 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue