• Jan Schmidt's avatar
    gstsegment: Handle positions before the segment properly · 5978e3b9
    Jan Schmidt authored
    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.
gstsegment.c 39.8 KB