vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Jul 1 18:25:22 2019 +0200| [65c1ff8d85f6cec06eae671a863e45badf204c40] | committer: Francois Cartegnie
codecs: subsusf: remove handling of karaoke style > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65c1ff8d85f6cec06eae671a863e45badf204c40 --- modules/codec/subsusf.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/codec/subsusf.c b/modules/codec/subsusf.c index 20eab12ed2..44248ff664 100644 --- a/modules/codec/subsusf.c +++ b/modules/codec/subsusf.c @@ -749,17 +749,6 @@ static void ParseUSFHeaderTags( decoder_t *p_dec, xml_reader_t *p_xml_reader ) { p_ssa_style->p_style->i_shadow_width = atoi( val ); } - else if( !strcasecmp( "back-color", attr ) ) - { - if( *val == '#' ) - { - unsigned long col = strtol(val+1, NULL, 16); - p_ssa_style->p_style->i_karaoke_background_color = (col & 0x00ffffff); - p_ssa_style->p_style->i_karaoke_background_alpha = (col >> 24) & 0xff; - p_ssa_style->p_style->i_features |= STYLE_HAS_K_BACKGROUND_COLOR - | STYLE_HAS_K_BACKGROUND_ALPHA; - } - } else if( !strcasecmp( "spacing", attr ) ) { p_ssa_style->p_style->i_spacing = atoi( val ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
