Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplate macro.

Original commit message from CVS:
* ext/directfb/dfbvideosink.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/theora/theoradec.c:
* gst/freeze/gstfreeze.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* sys/glsink/glimagesink.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
and fix one GObject boilerplate macro.
This commit is contained in:
Tim-Philipp Müller 2006-06-23 09:09:44 +00:00
parent ea0de11a50
commit f8783d2cc6
12 changed files with 27 additions and 12 deletions

View file

@ -1,3 +1,18 @@
2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
* ext/directfb/dfbvideosink.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/theora/theoradec.c:
* gst/freeze/gstfreeze.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* sys/glsink/glimagesink.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
and fix one GObject boilerplate macro.
2006-06-20 Wim Taymans <wim@fluendo.com> 2006-06-20 Wim Taymans <wim@fluendo.com>
* gst/modplug/libmodplug/stdafx.h: * gst/modplug/libmodplug/stdafx.h:

2
common

@ -1 +1 @@
Subproject commit bbfa0146961f4ca61ddbca7b42360b5741a6354b Subproject commit 123195d3bbcc0b6e1cf867d3a180685f8766a0be

View file

@ -98,7 +98,7 @@
#include <string.h> #include <string.h>
/* Debugging category */ /* Debugging category */
GST_DEBUG_CATEGORY (dfbvideosink_debug); GST_DEBUG_CATEGORY_STATIC (dfbvideosink_debug);
#define GST_CAT_DEFAULT dfbvideosink_debug #define GST_CAT_DEFAULT dfbvideosink_debug
/* ElementFactory information */ /* ElementFactory information */

View file

@ -27,7 +27,7 @@
#include "gstgsmdec.h" #include "gstgsmdec.h"
GST_DEBUG_CATEGORY (gsmdec_debug); GST_DEBUG_CATEGORY_STATIC (gsmdec_debug);
#define GST_CAT_DEFAULT (gsmdec_debug) #define GST_CAT_DEFAULT (gsmdec_debug)
/* elementfactory information */ /* elementfactory information */

View file

@ -27,7 +27,7 @@
#include "gstgsmenc.h" #include "gstgsmenc.h"
GST_DEBUG_CATEGORY (gsmenc_debug); GST_DEBUG_CATEGORY_STATIC (gsmenc_debug);
#define GST_CAT_DEFAULT (gsmenc_debug) #define GST_CAT_DEFAULT (gsmenc_debug)
/* elementfactory information */ /* elementfactory information */

View file

@ -34,7 +34,7 @@ enum
}; };
GST_DEBUG_CATEGORY (mmssrc_debug); GST_DEBUG_CATEGORY_STATIC (mmssrc_debug);
#define GST_CAT_DEFAULT mmssrc_debug #define GST_CAT_DEFAULT mmssrc_debug
static const GstElementDetails plugin_details = static const GstElementDetails plugin_details =

View file

@ -28,7 +28,7 @@
#define HTTP_DEFAULT_PORT 80 #define HTTP_DEFAULT_PORT 80
#define HTTPS_DEFAULT_PORT 443 #define HTTPS_DEFAULT_PORT 443
GST_DEBUG_CATEGORY (neonhttpsrc_debug); GST_DEBUG_CATEGORY_STATIC (neonhttpsrc_debug);
#define GST_CAT_DEFAULT neonhttpsrc_debug #define GST_CAT_DEFAULT neonhttpsrc_debug
#define MAX_READ_SIZE (4 * 1024) #define MAX_READ_SIZE (4 * 1024)

View file

@ -48,7 +48,7 @@
#include "theoradec.h" #include "theoradec.h"
#include <gst/tag/tag.h> #include <gst/tag/tag.h>
GST_DEBUG_CATEGORY (theoradecexp_debug); GST_DEBUG_CATEGORY_STATIC (theoradecexp_debug);
#define GST_CAT_DEFAULT theoradecexp_debug #define GST_CAT_DEFAULT theoradecexp_debug
static const GstElementDetails theora_dec_details = static const GstElementDetails theora_dec_details =

View file

@ -23,8 +23,8 @@
#include "gstfreeze.h" #include "gstfreeze.h"
GST_DEBUG_CATEGORY_STATIC (freeze_debug);
#define GST_CAT_DEFAULT freeze_debug #define GST_CAT_DEFAULT freeze_debug
GST_DEBUG_CATEGORY (freeze_debug);
enum enum
{ {

View file

@ -64,7 +64,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY); GST_STATIC_CAPS_ANY);
GST_DEBUG_CATEGORY (gst_gdp_depay_debug); GST_DEBUG_CATEGORY_STATIC (gst_gdp_depay_debug);
#define GST_CAT_DEFAULT gst_gdp_depay_debug #define GST_CAT_DEFAULT gst_gdp_depay_debug
#define _do_init(x) \ #define _do_init(x) \

View file

@ -56,7 +56,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-gdp")); GST_STATIC_CAPS ("application/x-gdp"));
GST_DEBUG_CATEGORY (gst_gdp_pay_debug); GST_DEBUG_CATEGORY_STATIC (gst_gdp_pay_debug);
#define GST_CAT_DEFAULT gst_gdp_pay_debug #define GST_CAT_DEFAULT gst_gdp_pay_debug
#define DEFAULT_CRC_HEADER TRUE #define DEFAULT_CRC_HEADER TRUE

View file

@ -33,7 +33,7 @@
#include <GL/glx.h> #include <GL/glx.h>
#include <GL/gl.h> #include <GL/gl.h>
GST_DEBUG_CATEGORY (gst_debug_glimage_sink); GST_DEBUG_CATEGORY_STATIC (gst_debug_glimage_sink);
#define GST_CAT_DEFAULT gst_debug_glimage_sink #define GST_CAT_DEFAULT gst_debug_glimage_sink
#define GST_TYPE_GLIMAGE_SINK \ #define GST_TYPE_GLIMAGE_SINK \
@ -44,7 +44,7 @@ GST_DEBUG_CATEGORY (gst_debug_glimage_sink);
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GLIMAGE_SINK,GstGLImageSinkClass)) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GLIMAGE_SINK,GstGLImageSinkClass))
#define GST_IS_GLIMAGE_SINK(obj) \ #define GST_IS_GLIMAGE_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GLIMAGE_SINK)) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GLIMAGE_SINK))
#define GST_IS_GLIMAGE_SINK_CLASS(obj) \ #define GST_IS_GLIMAGE_SINK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GLIMAGE_SINK)) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GLIMAGE_SINK))
typedef struct _GstGLImageSink GstGLImageSink; typedef struct _GstGLImageSink GstGLImageSink;