[FFmpeg-devel] [PATCH 2/7] avio: deprecate url_is_streamed

Ronald S. Bultje rsbultje
Mon Mar 7 16:24:21 CET 2011


Hi,

On Sun, Mar 6, 2011 at 12:04 PM, Anton Khirnov <anton at khirnov.net> wrote:
> AVIOContext.is_streamed field should be used directly instead.

Since we're talking about API cleanup anyway. What is this function?

A "stream" isn't a very useful concept. Why do demuxers want to know
whether the input is a stream? They more likely want to know whether
the input is seekable (like HTTP/1.1 with RangeRequest vs. HTTP/1.0 or
a pipe/fifo), or whether seeking - if supported at all - is slow (like
HTTP/1.1 with RangeRequest vs. a local seekable file). I see it used
in a variety of different demuxers with a different implied meaning
(seeking is slow vs. seeking is unsupported), and that is bad.

Also, no doxy so apparently even we don't know what it means.

Ronald



More information about the ffmpeg-devel mailing list