vlc | branch: master | Devin Heitmueller <[email protected]> | Tue Sep 13 00:23:21 2011 +0200| [7fd0bb96b1040e8be04fc4f1f4e72b39c180515d] | committer: Laurent Aimar
Fix improper rendering of PAC codes containing color or font styles (CC) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fd0bb96b1040e8be04fc4f1f4e72b39c180515d --- modules/codec/cc.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules/codec/cc.c b/modules/codec/cc.c index ff17c00..7fe63bd 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -750,6 +750,9 @@ static bool Eia608ParsePac( eia608_t *h, uint8_t d1, uint8_t d2 ) else if( d2 >= 0x40 ) d2 -= 0x40; h->cursor.i_column = pac2_attribs[d2].i_column; + h->color = pac2_attribs[d2].i_color; + h->font = pac2_attribs[d2].i_font; + return false; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
