mxfdemux: Handle EOS with non-frame wrapping
authorEdward Hervey <edward@centricular.com>
Tue, 27 Jul 2021 05:59:52 +0000 (07:59 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 27 Jul 2021 06:55:22 +0000 (08:55 +0200)
commit14d123528886027378fc9e9a05fb832cb3667277
treec05d86366f116bece2c66cd0db815096b0a152fb
parentb62e942718bfcee50af34485bad01c72ee6fa70e
mxfdemux: Handle EOS with non-frame wrapping

When reaching the end of non-frame wrapping track in pull mode, we want to force
the switch to the next non-eos pad. This is similar to when we exceed the
maximum drift.

Fixes issues on EOS where not everything would be drained out and stray errors
would pop out.

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