[vlc-devel] [PATCH] Add support for rendering EIA-608 captions with a black background

Laurent Aimar fenrir at elivagar.org
Wed Jan 2 20:55:23 CET 2013


Hi,

On Wed, Jan 02, 2013 at 11:45:11AM -0500, Devin Heitmueller wrote:
> Place a black background behind caption text.  We cannot use the
> existing "background" feature for subdecoders because it fills the
> entire subpicture block, and in the case of the EIA-608 decoder
> would result in a large square (since we send all lines to
> the subpicture decoder even if they are blank).  This approach
> allows for rendering of the background even in such cases, while
> preserving proper layout of the captions.
 I don't think that forcing CC to always use a black background to be a good
thing. But adding an option to the CC decoder doesn't fell right either.
 Wouldn't it be possible to simply do it automatically in the freetype module
without the CC decoder requesting it (it would probably need another configuration
item in the freetype module)? This way it would be consistant with all text
subtitles.

Regards,

-- 
fenrir



More information about the vlc-devel mailing list