[vlc-devel] [PATCH] stream_filter: prefetch: early fail on seek

Francois Cartegnie fcvlcdev at free.fr
Thu Jul 28 10:55:02 CEST 2016


Le 27/07/2016 à 22:20, Rémi Denis-Courmont a écrit :
> Nothing says that seeking past the end should fail. This has already been 
> discussed, and e.g. stream_Memory allows it.
> 
> Besides this needlessly breaks streams with changing size. And that´s 
> definitely possible and sometimes requested for local files.
> 
> No thanks.

So now we have non-deterministic return code on seek,
depending on the fastseek ability of the access.

Introduces regressions in demuxers relying on stream_Seek return code.

Francois


More information about the vlc-devel mailing list