[vlc-devel] [PATCH 1/4] avformat mux: Propagate seekable status into avformat.
Steinar H. Gunderson
sgunderson at bigfoot.com
Fri Aug 16 14:53:24 CEST 2013
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?
I guess we could always do lseek(fd, 0, SEEK_CUR)...
/* Steinar */
More information about the vlc-devel