[FFmpeg-devel] Howto flush encoder on closing?

Michael Niedermayer michaelni
Tue Jan 20 17:42:08 CET 2009

On Tue, Jan 20, 2009 at 03:50:05PM +0100, Bitbreaker/METALVOTZE wrote:
>> you are searching for CODEC_CAP_DELAY
> Okay, that was exactly what i was looking for! Thanks!
>> also patch to document this better is welcome
> See attachment.

this is great from a codec writes point of view but is confusing for
a user of libavcodec, thats because 
"If set, the codec will be fed with NULL data" is not correct in that case
rather the lavc user has to call the function with NULL explicitly.

Also i think this should be mentioned in the avcodec_encode_video()


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- 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/20090120/ed436c91/attachment.pgp>

More information about the ffmpeg-devel mailing list