[FFmpeg-devel] dvdsub encoder: respect palette when it makes sense
Sun Mar 1 22:59:10 CET 2009
On Sun, Mar 01, 2009 at 10:45:38AM +0100, Nicolas George wrote:
> The current version of the dvdsub encoder uses the alpha channel of the
> palette to weight the most important colors, and then completely ignores the
> palette. In particular, the alpha values it puts in the stream are hardcoded
> arbitrary values.
> The attached patch fix that to a certain extent: when there is exactly one
> rectangle and the palette has exactly 4 colors, the colors are kept in their
> original order and the alpha channel of the palette is copied to the stream.
your patch looks like a hack ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel