[FFmpeg-devel] [PATCH] flag CODEC_FLAG2_RETURN_INCOMPLETE_FRAMES

Jason Garrett-Glaser jason
Sun Dec 5 05:22:59 CET 2010


On Sat, Dec 4, 2010 at 8:03 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Nov 06, 2010 at 11:22:08AM -0700, Jason Garrett-Glaser wrote:
>> 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)?
>
> iam not sure, if it can be used for this.
> Either way our decoder should be fixed to return such incomplete frames once
> it sees a slice of the next frame
> or maybe a access unit delimiter could be injected to force the last frame to
> be retunrned but this is somewhat a hack too

FYI this hack is being used in production (or will be very soon) on a
client-side ffmpeg-based video application, so there are people who
consider the ability to say "this frame is done" (or at least get back
the frame eventually) important.

Jason



More information about the ffmpeg-devel mailing list