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

Rémi Denis-Courmont remi at remlab.net
Sun Aug 18 19:08:15 CEST 2013


Le vendredi 16 août 2013 14:53:24 Steinar H. Gunderson a écrit :
> On Thu, Aug 15, 2013 at 08:57:20AM +0200, Rémi Denis-Courmont wrote:
> > 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.
> 
> How does fstat() tell you if a file descriptor is seekable or not?

At least it tells the file type. If you have a better way, help yourself.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list