]> git.sesse.net Git - vlc/commit
Don't call the legacy Freetype background renderer if the EIA-608 bg render feature...
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Fri, 11 Jan 2013 19:28:04 +0000 (14:28 -0500)
committerRafaël Carré <funman@videolan.org>
Sat, 12 Jan 2013 07:29:08 +0000 (08:29 +0100)
commita4d5ee4975c20f8517206c77d79dc4e184ec7eab
tree625d8a4ef7303d2503280c4b5e7e53a6f62ecec6
parentbd788b65fc2d12ace47154874fedd431dc9a9a4c
Don't call the legacy Freetype background renderer if the EIA-608 bg render feature is used.

If we're using the new background renderer which just renders the
background under the text (instead of the entire subpicture block),
then don't call the legacy render as well.  This prevents a alpha-
transparent box from being shown when rendering EIA-608 captions
if the user has the Freetype background opacity set to a nonzero
value.

Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/text_renderer/freetype.c