Mercurial > mplayer.hg
diff subreader.h @ 31686:b41cbf02f854
subtitles: convert SRT/MicroDVD markup into ASS markup
As the title says. If libass support is enabled, in SRT subs, HTML-style
markup (<b>, </i>, </font>, etc.) is converted to ASS tags. Similarly,
MicroDVD-style markup is converted.
Patch by ubitux, ubitux AT gmail DOT com.
author | greg |
---|---|
date | Sun, 18 Jul 2010 22:00:48 +0000 |
parents | de190efe4da3 |
children | 7369969407d6 |
line wrap: on
line diff
--- a/subreader.h Sun Jul 18 21:39:57 2010 +0000 +++ b/subreader.h Sun Jul 18 22:00:48 2010 +0000 @@ -105,7 +105,7 @@ void sub_free( sub_data * subd ); void find_sub(sub_data* subd,int key); void step_sub(sub_data *subd, float pts, int movement); -void sub_add_text(subtitle *sub, const char *txt, int len, double endpts); +void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup); int sub_clear_text(subtitle *sub, double pts); #endif /* MPLAYER_SUBREADER_H */