tsdemux: fix truncated output segment when seeking with a stop
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 21 Apr 2021 19:43:59 +0000 (21:43 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 21 Apr 2021 21:40:26 +0000 (21:40 +0000)
commit0fb7392131a9beb254e26d17060d4b8f7817ec57
tree6c21b93e9e1fec9ae44aa508d3451b556f33e5f2
parentbe2996c48e820df5cec2fa991b1bed944bfe3e4a
tsdemux: fix truncated output segment when seeking with a stop

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>
gst/mpegtsdemux/tsdemux.c