[FFmpeg-devel] dvdsub encoder: respect palette when it makes sense
Mon Mar 2 16:22:59 CET 2009
On Mon, Mar 02, 2009 at 02:41:10PM +0100, Nicolas George wrote:
> Here is a new version of the patch. It does two things:
> - It prints a warning when a subtitle has more than 4 colors
ok i suspect
> or when one of
> the 4 main colors is beyond 16.
the way i understand it it should reject it if any of the 4 colors have a
palette entry that cant be represented
> - It copies the palette and alpha information to the encoded data instead of
> hardcoded arbitrary values.
> (It also adds an AVCodecContext parameter, just to have a proper context for
> the warning.)
should be a seperate patch ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel