commit | 5978e3b9587ddc998ddf5833ef34a915e02a52dd | [log] [tgz] |
---|---|---|
author | Jan Schmidt <jan@centricular.com> | Thu Aug 23 22:34:47 2018 +1000 |
committer | Jan Schmidt <jan@centricular.com> | Tue Sep 11 22:21:02 2018 +1000 |
tree | 6429b64c96d3de2ba077e89fc9741a645919a507 | |
parent | 208282e0b775cca1d40c6bac0dbbf78841ab4259 [diff] |
gstsegment: Handle positions before the segment properly Fixes for gst_segment_position_from_running_time_full() when converting running_times that precede the segment start (or stop in a negative rate segment) The return value was incorrectly negated in those cases. Add some more unit test checks for those cases, and especially for segments with offsets.