[Bug 763325] Multiple netclocks do not work anymore

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 8 16:03:03 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763325

--- Comment #7 from Xavi Artigas <xartigas.bugzilla at gmail.com> ---
This is the relevant code:

GstBuffer *buff = gst_sample_get_buffer(pipeline->last_sample);
GstClockTime pts = GST_BUFFER_PTS(buff);
GstClockTime curr = gst_clock_get_time(pipeline->net_clock) -
gst_element_get_base_time(pipeline->pipeline);
gub_log_pipeline(pipeline, "Buffer PTS is %" GST_TIME_FORMAT " and current is
%" GST_TIME_FORMAT, GST_TIME_ARGS(pts), GST_TIME_ARGS(curr));

It is executed periodically, asynchronously from the gstreamer flow, and the
sample is taken from fakesink's last-sample property.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list