[vlc-devel] [PATCH 3/3] demux: adaptive: avoid send blocks with invalid DTS out of order

Francois Cartegnie fcvlcdev at free.fr
Thu Aug 31 19:09:40 CEST 2017


Le 31/08/2017 à 15:37, Zhao Zhili a écrit :

> 
> For example, B3 is a block with invalid timestamps, it should not be output
> if B2 is not output, otherwise decoder cannot handle a block with invalid
> timestamps and arrive out of order.
> 
> A0, A1, B1, A2, B2, B3(invalid), A3, B4

> This patch will break bad interleaved streams with invalid timestamps, but
> it's broken already. It should be improved to not block the output of other
> streams, for example the A3.

You have no way yo tell if B3 is continuous data from B2. So without
tracking, that's incomplete.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list