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

Kim Minh Kaplan kaplan at kim-minh.com
Wed Nov 21 00:31:30 CET 2001


Arpi writes:

> about alpha/colors:
[...]
> 0 = fully transparent subpic
> 1 = (near) fully opaque subpic
> ...
> 255 = (near) fully transparent subpic
[...]
> also an important limitation:  color+alpha must be less or equal to 255
> (because there is no >255 range checking and clipping)

OK, this explains all the strange things I was experiencing...  With
the following patch subtitles are now stable and readable on all the
DVD's I have.  I hope the color picking heuristic is good enough for
most person.

Kim Minh.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: spu-2.patch
Type: text/x-patch
Size: 2992 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20011121/dbd01eed/attachment.bin>


More information about the MPlayer-dev-eng mailing list