commit | 65dcb2adbfe8edeaaa0212df2798695f15497b90 | [log] [tgz] |
---|---|---|
author | Alicia Boya GarcĂa <aboya@igalia.com> | Wed Jan 10 04:08:57 2018 +0100 |
committer | Thibault Saunier <tsaunier@igalia.com> | Fri Feb 16 10:35:14 2018 -0300 |
tree | 81513ab7a4cc784717541c2a4c2f5a76ef1ffba0 | |
parent | 7fad93d03559513c947e38065b1cc160b1621cf6 [diff] |
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. https://bugzilla.gnome.org/show_bug.cgi?id=792434