[FFmpeg-devel] [PATCH 19/28] changed: check some more url_fseeks in asf demuxer to avoid problems if file system is unseekable

Martin Storsjö martin
Wed Jun 30 20:06:58 CEST 2010


On Wed, 30 Jun 2010, Joakim Plate wrote:

> Reimar D?ffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> > 
> > Subject: [FFmpeg-devel] [PATCH 19/28] changed: check some more
> >         url_fseeks in
> >         asf demuxer to avoid problems if file system is unseekable
> > 
> > While probably a good idea in principle, this is the wrong solution
> > for the problem in the subject: is_streamed should be set correctly
> > instead.
> > 
> 
> 
> 
> Which you can't know unless you try on http for example. Or the
> file may have been cut in half for some odd reason, so the point
> you seek to is not available.

Actually, on http you usually know if it will work or not. is_streamed is 
set to 0 (to indicate that seeking is supported) if a Content-Range header 
is received.

// Martin



More information about the ffmpeg-devel mailing list