[vlc-commits] Render all rows, even blank ones
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:14 2012 -0500| [d437095ff46fd9caae2a4da779207f5b50413957] | committer: Rafaël Carré
Render all rows, even blank ones
We need to render all the rows, or else the placement of popup captions will
not be correct.
The previous code worked fine when rendering text horizontally aligned at the
bottom of the screen, but won't work for a real layout.
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d437095ff46fd9caae2a4da779207f5b50413957
---
modules/codec/cc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/codec/cc.c b/modules/codec/cc.c
index 369ea45..b3fc1cf 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -1079,9 +1079,6 @@ static char *Eia608Text( eia608_t *h, bool b_html )
Eia608Strlcat( psz, "<text>", i_size );
for( int i = 0; i < EIA608_SCREEN_ROWS; i++ )
{
- if( !screen->row_used[i] )
- continue;
-
if( !b_first )
Eia608Strlcat( psz, b_html ? "<br />" : "\n", i_size );
b_first = false;
More information about the vlc-commits
mailing list