rtpbin: Fix a leaked clock for each buffering message

Fixes bug #659237.
This commit is contained in:
Ha Nguyen 2011-09-19 12:15:11 +02:00 committed by Sebastian Dröge
parent d959bb6041
commit 931020158e

View file

@ -2217,6 +2217,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message)
now = gst_clock_get_time (clock);
base_time = gst_element_get_base_time (GST_ELEMENT_CAST (bin));
running_time = now - base_time;
gst_object_unref (clock);
}
GST_DEBUG_OBJECT (bin,
"running time now %" GST_TIME_FORMAT,