From: Tim-Philipp Müller Date: Tue, 30 Dec 2014 23:44:46 +0000 (+0000) Subject: aggregator: remove now-unused system clock member X-Git-Tag: 1.16.2~574^2~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7302a42ac172c3f7d1ff1d5b6286daf9b55bf499;p=platform%2Fupstream%2Fgstreamer.git aggregator: remove now-unused system clock member --- diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 844bb7e..89555d9 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -1458,7 +1458,6 @@ gst_aggregator_finalize (GObject * object) { GstAggregator *self = (GstAggregator *) object; - gst_object_unref (self->clock); g_mutex_clear (&self->priv->setcaps_lock); g_mutex_clear (&self->priv->src_lock); g_cond_clear (&self->priv->src_cond); @@ -1643,7 +1642,6 @@ gst_aggregator_init (GstAggregator * self, GstAggregatorClass * klass) gst_element_add_pad (GST_ELEMENT (self), self->srcpad); - self->clock = gst_system_clock_obtain (); self->latency = 0; g_mutex_init (&self->priv->setcaps_lock); diff --git a/libs/gst/base/gstaggregator.h b/libs/gst/base/gstaggregator.h index aed9c4c..6e9a3ef 100644 --- a/libs/gst/base/gstaggregator.h +++ b/libs/gst/base/gstaggregator.h @@ -139,8 +139,6 @@ struct _GstAggregator /*< private >*/ GstAggregatorPrivate * priv; - GstClock * clock; - /* properties */ gint64 latency;