diff options
author | Edward Hervey <edward@collabora.com> | 2013-07-29 09:35:08 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-07-29 09:42:12 +0200 |
commit | 97426a1caac4abba03f43a5c4b6c6fcff30ba167 (patch) | |
tree | 48d2af2f49a72da383a97d2b7a00ae09799e3426 /gst/debugutils | |
parent | bc84cd775fac9f6163526fba55d2f68dc3c067c1 (diff) | |
download | gstreamer-plugins-bad-97426a1caac4abba03f43a5c4b6c6fcff30ba167.tar.gz |
all: Fix for GST_DISABLE_GST_DEBUG
Where applicable, remove methods that don't do anything different than
the default implementation.
Diffstat (limited to 'gst/debugutils')
-rw-r--r-- | gst/debugutils/gstwatchdog.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gst/debugutils/gstwatchdog.c b/gst/debugutils/gstwatchdog.c index bbc903a1c..2166b6339 100644 --- a/gst/debugutils/gstwatchdog.c +++ b/gst/debugutils/gstwatchdog.c @@ -59,11 +59,7 @@ static void gst_watchdog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void gst_watchdog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); -static void gst_watchdog_dispose (GObject * object); -static void gst_watchdog_finalize (GObject * object); -static GstCaps *gst_watchdog_transform_caps (GstBaseTransform * trans, - GstPadDirection direction, GstCaps * caps, GstCaps * filter); static gboolean gst_watchdog_start (GstBaseTransform * trans); static gboolean gst_watchdog_stop (GstBaseTransform * trans); static gboolean gst_watchdog_sink_event (GstBaseTransform * trans, @@ -105,10 +101,6 @@ gst_watchdog_class_init (GstWatchdogClass * klass) gobject_class->set_property = gst_watchdog_set_property; gobject_class->get_property = gst_watchdog_get_property; - gobject_class->dispose = gst_watchdog_dispose; - gobject_class->finalize = gst_watchdog_finalize; - base_transform_class->transform_caps = - GST_DEBUG_FUNCPTR (gst_watchdog_transform_caps); base_transform_class->start = GST_DEBUG_FUNCPTR (gst_watchdog_start); base_transform_class->stop = GST_DEBUG_FUNCPTR (gst_watchdog_stop); base_transform_class->sink_event = @@ -166,41 +158,6 @@ gst_watchdog_get_property (GObject * object, guint property_id, } } -void -gst_watchdog_dispose (GObject * object) -{ - GstWatchdog *watchdog = GST_WATCHDOG (object); - - GST_DEBUG_OBJECT (watchdog, "dispose"); - - /* clean up as possible. may be called multiple times */ - - G_OBJECT_CLASS (gst_watchdog_parent_class)->dispose (object); -} - -void -gst_watchdog_finalize (GObject * object) -{ - GstWatchdog *watchdog = GST_WATCHDOG (object); - - GST_DEBUG_OBJECT (watchdog, "finalize"); - - /* clean up object here */ - - G_OBJECT_CLASS (gst_watchdog_parent_class)->finalize (object); -} - -static GstCaps * -gst_watchdog_transform_caps (GstBaseTransform * trans, - GstPadDirection direction, GstCaps * caps, GstCaps * filter) -{ - GstWatchdog *watchdog = GST_WATCHDOG (trans); - - GST_DEBUG_OBJECT (watchdog, "transform_caps"); - - return gst_caps_ref (caps); -} - static gpointer gst_watchdog_thread (gpointer user_data) { |