mxfdemux: Don't double-increase track position
authorEdward Hervey <edward@centricular.com>
Mon, 11 Apr 2022 08:31:15 +0000 (10:31 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 12 Apr 2022 07:57:37 +0000 (07:57 +0000)
commit3a77a3c696f9c9c782733e759ba5b7c895bc23fc
treed96186d5666d3388fa51ca595b7e8d1097b9fa34
parentad9c4356473edcd17fd90438231007d9f8fcd8d5
mxfdemux: Don't double-increase track position

The essence track position should only be overriden if we sucesfully switched to
another position. In case of EOS we do not want to override it else we would
increase the track position *again* at the end of this function

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2150>
subprojects/gst-plugins-bad/gst/mxf/mxfdemux.c