Commit d437095f authored by Devin Heitmueller's avatar Devin Heitmueller Committed by 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: default avatarRafaël Carré <funman@videolan.org>
parent 570dbaf6
......@@ -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;
......
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