[FFmpeg-devel] [PATCH]Lagarith: CODEC_CAP_DR1 ?

Reimar Döffinger Reimar.Doeffinger
Mon Jan 10 08:15:56 CET 2011

On Sun, Jan 09, 2011 at 02:23:20PM -0800, Baptiste Coudurier wrote:
> Also all intra only codec decoders should only set the fields
> (FF_I_TYPE, key_frame, reference) once in decode_init, not for every
> frame IMHO.

For those you give the example, yes, I think that should work.
However as I understand it, buffer_hints is ok (or even adviseable)
for get_buffer to modify, so it should be set each time before get_buffer.
In which case it might be better to just keep everything in one place...

More information about the ffmpeg-devel mailing list