• Wim Taymans's avatar
    gst/gstsegment.c: _set_last_stop() must be with a value != -1 · fd6d33c3
    Wim Taymans authored
    Original commit message from CVS:
    * gst/gstsegment.c: (gst_segment_set_last_stop),
    (gst_segment_set_seek), (gst_segment_set_newsegment_full):
    _set_last_stop() must be with a value != -1
    A _TYPE_SET to -1 means seek to 0.
    Calc last_stop correctly for negative rates.
    Make sure we work with positive durations when updating a segment.
    fd6d33c3