[Ffmpeg-devel] CODEC_CAP_DELAY for decoders

Michael Niedermayer michaelni
Sun Nov 5 17:48:29 CET 2006


Hi

On Sun, Nov 05, 2006 at 04:46:06PM +0100, Baptiste Coudurier wrote:
> Hi
> 
> Does this use of CODEC_CAP_DELAY is right for decoders ?
> It will continue to decode buffer, and so decode animated gif.
> 
> I noticed a problem though, ffmpeg will not try decode more that one
> time after getting last pkt, it should continue until decode_video
> returns -1, no ?

no
it should decode until data_size is 0 (=no further picture is output)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list