[MPlayer-dev-eng] [PATCH] increasing probe size for lavf demuxer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Feb 12 21:39:31 CET 2010


On Fri, Feb 12, 2010 at 02:24:57AM +0100, Michael Niedermayer wrote:
> On Thu, Feb 04, 2010 at 09:28:19PM +0100, Reimar Döffinger wrote:
> > Hello,
> > attached patch makes the lavf demuxer progressively probe up to 2MB if it
> > can't detect the format.
> > This can probably be tuned further in the long term, and also for now this
> > is only done for the lavf demuxer, not the lavfpref one which comes on the
> > very top of the demuxer list. This is mostly to avoid long hangs e.g.
> > with streaming audio while there's still a chance one of out other
> > demuxers can handle it.
> 
> >  demux_lavf.c |   24 ++++++++++++++++++------
> >  1 file changed, 18 insertions(+), 6 deletions(-)
> > 981b7b860ffc1649d706a95801fb6708f1546b75  lavfprobe.diff
> 
> looks ok if tested which i assume it is

For once it's actually tested, I know since I managed to have a lot of bugs
in the initial version :-)



More information about the MPlayer-dev-eng mailing list