[vlc-commits] Enable HTML renderer for closed captions

Devin Heitmueller git at videolan.org
Mon Dec 31 14:00:03 CET 2012


vlc | branch: master | Devin Heitmueller <dheitmueller at kernellabs.com> | Thu Dec 27 01:08:13 2012 -0500| [570dbaf62165e656c75caef077cff595d2aeb873] | committer: 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: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=570dbaf62165e656c75caef077cff595d2aeb873
---

 modules/codec/cc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/cc.c b/modules/codec/cc.c
index 34777e5..369ea45 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -357,7 +357,7 @@ static subpicture_t *Convert( decoder_t *p_dec, block_t *p_block )
     if( b_changed )
     {
         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 NULL;



More information about the vlc-commits mailing list