mxf: check EOS cond with any segment's flag
authorStéphane Cerveau <scerveau@collabora.com>
Tue, 4 May 2021 10:29:14 +0000 (12:29 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 4 May 2021 19:11:27 +0000 (19:11 +0000)
commiteb96f50c45c3ea7b35ff4601192ca5278a102c33
tree2757cd0fbe4f553f7371996be4f83221e76b9946
parentc32f455b7b9e8dd145077d634d9ba392a7e05cf3
mxf: check EOS cond with any segment's flag

The previous test was preventing the pad to be in EOS
when the segment position was greater than segment stop.
It ended up consuming all the data before getting in EOS.

Regarding GST_SEEK_FLAG_SEGMENT it seems to be
correctly handled later in the method.

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