mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-26 04:41:53 +00:00
Fixed missing tpage number in UCLA from BIN.
This commit is contained in:
parent
1975848ecc
commit
ab1c7ab563
@ -201,11 +201,11 @@ int write_cc_subtitle_as_transcript(struct cc_subtitle *sub, struct encoder_ctx
|
|||||||
|
|
||||||
if (context->transcript_settings->showCC)
|
if (context->transcript_settings->showCC)
|
||||||
{
|
{
|
||||||
if (context->in_fileformat == 1)
|
if (!context->ucla || !strcmp(sub->mode, "TLT"))
|
||||||
|
fdprintf(context->out->fh, sub->info);
|
||||||
|
else if (context->in_fileformat == 1)
|
||||||
//TODO, data->my_field == 1 ? data->channel : data->channel + 2); // Data from field 2 is CC3 or 4
|
//TODO, data->my_field == 1 ? data->channel : data->channel + 2); // Data from field 2 is CC3 or 4
|
||||||
fdprintf(context->out->fh, "CC?|");
|
fdprintf(context->out->fh, "CC?|");
|
||||||
else if (!context->ucla || !strcmp(sub->mode, "TLT"))
|
|
||||||
fdprintf(context->out->fh, sub->info);
|
|
||||||
}
|
}
|
||||||
if (context->transcript_settings->showMode)
|
if (context->transcript_settings->showMode)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user