[FFmpeg-devel] [PATCH] guess_stream_format() -> av_guess_stream_format()

Stefano Sabatini stefano.sabatini-lala
Sun Dec 27 21:13:36 CET 2009


On date Sunday 2009-12-27 16:05:45 +0100, Stefano Sabatini encoded:
> On date Sunday 2009-12-27 15:29:47 +0100, Michael Niedermayer encoded:
> > On Sun, Dec 27, 2009 at 01:20:23PM +0100, Stefano Sabatini wrote:
> > > On date Sunday 2009-12-27 12:45:55 +0100, Stefano Sabatini encoded:
> > > > Hi, as in subject (missing minor bump and changelog entry, I'll
> > > > provide them commit-time).
> > > 
> > > Rethinking at it, what's the point of guess_stream_format()?
> > 
> > ask whoever wrote it ...
> 
> r817 | philipjsg | 2002-07-27 04:54:10 +0200 (Sat, 27 Jul 2002) | 3 lines
> 
> * Add code for ffserver to get stream output formats: guess_stream_format
> * Add real parse_date code. This is much more robust and can handle localtime and UTC
> 
> Apparently it's only a variant of guess_codec which favours
> asf_stream/asf_stream_muxer over asf/asf_muxer.

So in the end I suggest to move the function from the public API to
ffserver.c in the next major bump, the function itself is quite
hackish since it relies on some undocumented properties of the name of
the muxers (wich is only relevant for the ASF muxer).

Regards.
-- 
FFmpeg = Foolish & Frenzy Merciful Portable Elected Gadget



More information about the ffmpeg-devel mailing list