[MPlayer-dev-eng] [PATCH] display DVD subtitles

Kim Minh Kaplan kaplan at kim-minh.com
Thu Nov 22 11:49:01 CET 2001


pl writes:

> On Wed, Nov 21, 2001 at 01:05:31AM +0100, Felix Buenemann wrote:
>
>> alpha0: area around sub/background: always 0 -> transparent
>> alpha1: subtitle: always 1 -> opaque
>> alpha2: dunno what used for: always 1 -> opaque
>> alpha2: subtitle outline: always 127 -> 50% transparent

This is a strange way to choose alpha values: the correct values have
succesfully been read from the DVD.  Why not use them?

> I guess the "Colors need to be parsed from the IFO." comment may be
> related to this behavior. (?)

The latest patch I posted always use different grays for each color.
But once/if the IFO is read we'll have to use another drawing method
to display real colors.  I wonder if color subtitles are really worth
it.

Anybody got bad (regarding colors) subtitles with my latest color
choosing scheme?

Kim Minh.



More information about the MPlayer-dev-eng mailing list