[FFmpeg-devel] [PATCH] flag CODEC_FLAG2_RETURN_INCOMPLETE_FRAMES

Jason Garrett-Glaser darkshikari
Sat Nov 6 19:22:08 CET 2010


2010/11/5 Anatoly Nenashev <anatoly.nenashev at ovsoft.ru>:
> Hi!
> Due to Michael's comments in a thread "MxPEG decoder" the flag
> CODEC_FLAG2_RETURN_INCOMPLETE_FRAMES has been added.
> It can be useful for h264 format also.

Is this related to the patch I have here (hack)?

This patch allows the user, when using CHUNKS mode, to say "the frame
is done, give it to me" even if the frame isn't done.  Use-case: if
the last packet of a frame is lost, libavcodec will NEVER return the
frame.

I've only implemented it for H.264.

Dark Shikari
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finish_frame.diff
Type: application/octet-stream
Size: 9648 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101106/bf1be042/attachment.obj>



More information about the ffmpeg-devel mailing list