[FFmpeg-devel] [RFC][PATCH] return packets for known codecs earlier when codec probing is done

Michael Niedermayer michaelni
Sun May 24 02:49:30 CEST 2009

On Sat, May 23, 2009 at 03:56:11PM -0700, Baptiste Coudurier wrote:
> Hi,
> $subject.
> I'd like comments on this. I don't really get why we wouldn't return
> packets for known codecs. Why do we buffer them ?

if we have packets in the buffer we must return them first, before the
current packet even if the codec is known, adding the current packet
to the buffer is needed as we return an earlier packet first. And cant
return 2 at once.
But maybe you meant something else?

> Problem is that packets for known codecs get buffered but never returned
> until codec is sucessfully probed for the unkwnown stream, which might
> not even happen.

That sounds like a seperat issue, 
There could be a size limit at which we turn PROBE in NONE and return
stuff ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090524/f0bdcf4c/attachment.pgp>

More information about the ffmpeg-devel mailing list