Commit 570dbaf6 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Rafaël Carré

Enable HTML renderer for closed captions

We need to use the HTML renderer if we want colors/styles to work
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 59d8e399
...@@ -357,7 +357,7 @@ static subpicture_t *Convert( decoder_t *p_dec, block_t *p_block ) ...@@ -357,7 +357,7 @@ static subpicture_t *Convert( decoder_t *p_dec, block_t *p_block )
if( b_changed ) if( b_changed )
{ {
char *psz_subtitle = Eia608Text( &p_sys->eia608, false ); char *psz_subtitle = Eia608Text( &p_sys->eia608, false );
char *psz_html = NULL;//Eia608Text( &p_sys->eia608, true ); char *psz_html = Eia608Text( &p_sys->eia608, true );
return Subtitle( p_dec, psz_subtitle, psz_html, i_pts ); return Subtitle( p_dec, psz_subtitle, psz_html, i_pts );
} }
return NULL; return NULL;
......
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