diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2011-11-10 19:37:28 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2011-11-10 22:47:07 +0200 |
commit | a1599f5f7e9e31b9ec34e4d427705cb2a7e62a9b (patch) | |
tree | ac49389a6cedc8f94be473d06281fb2922b1367f /gst/gstcontrolsource.c | |
parent | 08d9f540443c144aa019d6c399e93f8d139e0eab (diff) | |
download | gstreamer-a1599f5f7e9e31b9ec34e4d427705cb2a7e62a9b.tar.gz |
controller: merge controller into gstobject
This make the controller even more lightweight (no extra object, no extra lock,
less indirections). For object that don't use the controller the only 'overhead'
is a 3 unused fields in the gst_object structure.
Diffstat (limited to 'gst/gstcontrolsource.c')
-rw-r--r-- | gst/gstcontrolsource.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/gstcontrolsource.c b/gst/gstcontrolsource.c index bc9e125e10..3d87670c8f 100644 --- a/gst/gstcontrolsource.c +++ b/gst/gstcontrolsource.c @@ -48,8 +48,8 @@ #include "gstcontrolsource.h" -#define GST_CAT_DEFAULT controller_debug -GST_DEBUG_CATEGORY_EXTERN (GST_CAT_DEFAULT); +#define GST_CAT_DEFAULT control_source_debug +GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); G_DEFINE_ABSTRACT_TYPE (GstControlSource, gst_control_source, G_TYPE_OBJECT); @@ -64,6 +64,9 @@ gst_control_source_class_init (GstControlSourceClass * klass) /* Has to be implemented by children */ klass->bind = NULL; + + GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "gstcontrolsource", 0, + "dynamic parameter control sources"); } static void |