baseparse: always use incoming DTS
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 26 Oct 2020 22:17:59 +0000 (23:17 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Tue, 27 Oct 2020 00:58:32 +0000 (01:58 +0100)
commitfc5cd9591a3fe09458342cfedfff88d57bc330c7
tree622478ace6282207955d31d19bb24ee722629dad
parent41677a526b83bb2493087af1d93b50c297cf97cd
baseparse: always use incoming DTS

When parsing interlaced video streams, ignoring incoming DTS could
cause the parser to end up with PTS < DTS output buffers, for example
when increasing next_dts using the duration of the last pushed
buffer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/681>
libs/gst/base/gstbaseparse.c