Hello,
On Tue, Mar 25, 2008 at 11:35:44PM +0530, Sisir Koppaka wrote:
> One more doubt :)
> Is it necessary to set the palette once per frame in the decoder or doing it
> once for all the frames will suffice?

Palette behaves just like any other part of the frame (it is just
another plane, no special handling really): If you set
FF_BUFFER_HINTS_PRESERVE it will be the same as for the last frame,
if not it is uninitialized initially and you have to set it again.
And no, IMO you should not set FF_BUFFER_HINTS_PRESERVE just because of
the palette.

Greetings,
Reimar Döffinger
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to