In disabling the stop adjustment for negative rates in
03031037fafd2d535bbefb1fdf6024b5d1159043 , two instructions
were inverted resulting in the stop always being adjusted by
0
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2182>
} else if (base->out_segment.start < firstts) {
/* Take into account the offset to the first buffer timestamp */
if (base->out_segment.rate > 0) {
- base->out_segment.start = firstts;
-
if (GST_CLOCK_TIME_IS_VALID (base->out_segment.stop))
base->out_segment.stop += firstts - base->out_segment.start;
+ base->out_segment.start = firstts;
base->out_segment.position = firstts;
}
}