mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
ffmpegcolorspace: Use the ffmpegcolorspace debug category
Move gstffmpegcodecmap debug to the ffmpegcolorspace category
This commit is contained in:
parent
850c95178d
commit
f58a2b71b5
2 changed files with 7 additions and 4 deletions
|
@ -30,6 +30,9 @@
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "gstffmpegcodecmap.h"
|
#include "gstffmpegcodecmap.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_EXTERN (ffmpegcolorspace_debug);
|
||||||
|
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
|
||||||
|
|
||||||
static GstCaps *
|
static GstCaps *
|
||||||
gst_ff_vid_caps_new (AVCodecContext * context,
|
gst_ff_vid_caps_new (AVCodecContext * context,
|
||||||
const char *mimetype, const char *fieldname, ...)
|
const char *mimetype, const char *fieldname, ...)
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include "gstffmpegcolorspace.h"
|
#include "gstffmpegcolorspace.h"
|
||||||
#include "gstffmpegcodecmap.h"
|
#include "gstffmpegcodecmap.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (ffmpegcolorspace_debug);
|
GST_DEBUG_CATEGORY (ffmpegcolorspace_debug);
|
||||||
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
|
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
|
||||||
|
|
||||||
/* elementfactory information */
|
/* elementfactory information */
|
||||||
|
@ -360,9 +360,6 @@ gst_ffmpegcsp_class_init (GstFFMpegCspClass * klass)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gstbasetransform_class->passthrough_on_same_caps = TRUE;
|
gstbasetransform_class->passthrough_on_same_caps = TRUE;
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (ffmpegcolorspace_debug, "ffmpegcolorspace", 0,
|
|
||||||
"FFMPEG-based colorspace converter");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -489,6 +486,9 @@ gst_ffmpegcolorspace_register (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (ffmpegcolorspace_debug, "ffmpegcolorspace", 0,
|
||||||
|
"FFMPEG-based colorspace converter");
|
||||||
|
|
||||||
/* template caps */
|
/* template caps */
|
||||||
caps = gst_ffmpegcsp_codectype_to_caps (CODEC_TYPE_VIDEO, NULL);
|
caps = gst_ffmpegcsp_codectype_to_caps (CODEC_TYPE_VIDEO, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue