[vlc-devel] [PATCH 1/4] avformat mux: Propagate seekable status into avformat.

Luca Barbato lu_zero at gentoo.org
Mon Aug 26 12:50:53 CEST 2013


On 16/08/13 16:42, Steinar H. Gunderson wrote:
> Some muxes, in particular mkv/webm, behave very differently depending on
> whether we say that the stream is seekable or not (by providing the IOSeek
> function). It does not help that the seek function itself returns an error.
> 
> Thus, add a new access_out control called ACCESS_OUT_CAN_SEEK, set to true
> for seekable files in the file output only, and propagate the status of that
> into avformat at initialization time.

I fixed mkv to let you specify its behaviour instead to have that
heuristic so this patch is less necessary.

Yet it is a good idea.

lu






More information about the vlc-devel mailing list