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

Rémi Denis-Courmont remi at remlab.net
Thu Aug 15 08:57:20 CEST 2013

On Thu, 15 Aug 2013 00:08:43 +0200, "Steinar H. Gunderson"
<sgunderson at bigfoot.com> 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
> function). It does not help that the seek function itself returns an
> Thus, add a new access_out control called ACCESS_OUT_CAN_SEEK,

This is fine.

> set to true for the file output only,

This is incorrect. Not all file descriptors support seeking, so you
probably need to call fstat().
This should perhaps be split as a separate patch as well.

> and propagate the status of that into avformat
> at initialization time.

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list