[vlc-devel] [PATCH 01/11] Enable HTML renderer for closed captions

Devin Heitmueller dheitmueller at kernellabs.com
Thu Dec 27 07:08:13 CET 2012


We need to use the HTML renderer if we want colors/styles to work
---
 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 ee202b0..e9590bc 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -363,7 +363,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;
-- 
1.7.9.5




More information about the vlc-devel mailing list