Commit 195b652d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Subtitles: hide {y:*} in microDVD

This seems to be the latest fashion in poland, for {y:i} (italic) and
{y:b} (bold), but I don't know how to correctly support it:
 - should we remove the tags in the demuxer like the MPL2 one (bad
   solution for MPL2 too)?
 - should we replace it by <i> in codecs?
parent d1a04e1f
......@@ -981,7 +981,7 @@ static char *CreateHtmlSubtitle( int *pi_align, char *psz_subtitle )
/* Hide {\stupidity} */
psz_subtitle = strchr( psz_subtitle, '}' ) + 1;
}
else if( psz_subtitle[0] == '{' && psz_subtitle[1] == 'Y'
else if( psz_subtitle[0] == '{' && ( psz_subtitle[1] == 'Y' || psz_subtitle[1] == 'y' )
&& psz_subtitle[2] == ':' && strchr( psz_subtitle, '}' ) )
{
/* Hide {Y:stupidity} */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment