[MPlayer-dev-eng] [PATCH] (bit hackish) palette support for libav*

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jan 29 21:26:54 CET 2007


Hello,
On Mon, Jan 29, 2007 at 07:19:15PM +0100, Michael Niedermayer wrote:
> On Mon, Jan 29, 2007 at 06:22:30PM +0100, Reimar Döffinger wrote:
> > On Mon, Jan 29, 2007 at 05:52:54PM +0100, Michael Niedermayer wrote:
[...]
> > > palette changes should be sent as packets like normal frames
> > 
> > That might make things quite a bit simpler from the MPlayer side.
> > Do you have something in mind already?
> > Just adding PKT_FLAG_PALETTE and sending the palette through? Might
> 
> yes

Hm.. little problem... Either I move the palette handling into the main
loop, which will not work for codecs that have a delay, or I need to
pass the palette into the codec somehow...
Any suggestions?
My first idea is keeping AVPaletteControl, but using it only in
libavcodec...

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list