mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-01 15:55:17 +00:00
Undo part of the clever capitalization stuff. Doesn't work well for TV stations that are all caps except for hard of hearing notes.
This commit is contained in:
parent
878106386c
commit
e6ca4274ec
@ -122,8 +122,11 @@ int is_all_caps(struct encoder_ctx *context, int line_num, struct eia608_screen
|
||||
|
||||
int clever_capitalize(struct encoder_ctx *context, int line_num, struct eia608_screen *data)
|
||||
{
|
||||
// First find out if we actually need to do it, don't mess with lines that come OK
|
||||
int doit = is_all_caps(context, line_num, data);
|
||||
// CFS: Tried doing to clever (see below) but some channels do all uppercase except for
|
||||
// notes for deaf people (such as "(narrator)" which messes things up.
|
||||
// First find out if we actually need to do it, don't mess with lines that come OK
|
||||
//int doit = is_all_caps(context, line_num, data);
|
||||
int doit = 1;
|
||||
|
||||
for (int i = 0; i < CCX_DECODER_608_SCREEN_WIDTH; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user