[Bug 792434] gstbasesink: Include segment.offset in the computation of position

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 13 19:47:38 UTC 2018


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

--- Comment #7 from Alicia Boya GarcĂ­a <aboya at igalia.com> ---
Created attachment 368325
  --> https://bugzilla.gnome.org/attachment.cgi?id=368325&action=edit
gstbasesink: Include segment.offset in the computation of position

Position queries with GST_FORMAT_TIME are supposed to return stream
time.

gst_base_sink_get_position() estimates the current stream time on its
own instead of using gst_segment_to_stream_time(), but the algorithm
used was not taking segment.offset into account, resulting in invalid
values when this field was set to a non-zero value.

-- 
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