mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
rtpbin: Fix a leaked clock for each buffering message
Fixes bug #659237.
This commit is contained in:
parent
d959bb6041
commit
931020158e
1 changed files with 1 additions and 0 deletions
|
@ -2217,6 +2217,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message)
|
||||||
now = gst_clock_get_time (clock);
|
now = gst_clock_get_time (clock);
|
||||||
base_time = gst_element_get_base_time (GST_ELEMENT_CAST (bin));
|
base_time = gst_element_get_base_time (GST_ELEMENT_CAST (bin));
|
||||||
running_time = now - base_time;
|
running_time = now - base_time;
|
||||||
|
gst_object_unref (clock);
|
||||||
}
|
}
|
||||||
GST_DEBUG_OBJECT (bin,
|
GST_DEBUG_OBJECT (bin,
|
||||||
"running time now %" GST_TIME_FORMAT,
|
"running time now %" GST_TIME_FORMAT,
|
||||||
|
|
Loading…
Reference in a new issue