Commit 93102015 authored by Ha Nguyen's avatar Ha Nguyen Committed by Sebastian Dröge

rtpbin: Fix a leaked clock for each buffering message

Fixes bug #659237.
parent d959bb60
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment