mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-30 13:54:39 +00:00
Fixed hot bug with CEA-708 counter
This commit is contained in:
parent
1fb98118c6
commit
a727d2df26
@ -19,10 +19,12 @@ int _dtvcc_is_screen_empty(dtvcc_tv_screen *tv, struct encoder_ctx *encoder)
|
||||
for (int i = 0; i < CCX_DTVCC_SCREENGRID_ROWS; i++)
|
||||
{
|
||||
if (!_dtvcc_is_row_empty(tv, i))
|
||||
{
|
||||
// we will write subtitle
|
||||
encoder->cea_708_counter++;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
// we will write subtitle
|
||||
encoder->cea_708_counter++;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user