New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] displaying possible teletext pages without actual extraction #1058
Conversation
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Your PR breaks these cases:
Check the result page for more info. |
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Your PR breaks these cases:
Check the result page for more info. |
src/lib_ccx/general_loop.c
Outdated
@@ -677,6 +677,10 @@ int process_data(struct encoder_ctx *enc_ctx, struct lib_cc_decode *dec_ctx, str | |||
if (ret == CCX_EINVAL) | |||
return ret; | |||
} | |||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally in code, if you check else statement is written like
if(condition)
{
//statement
}
else
{
\\statement
}
we do not do use K&R coding style in this file
if (condition) {
//statement
} else {
//statement
}
@@ -907,13 +907,13 @@ void process_telx_packet(struct TeletextCtx *ctx, data_unit_t data_unit_id, tele | |||
if (!ctx->seen_sub_page[thisp]) | |||
{ | |||
ctx->seen_sub_page[thisp]=1; | |||
mprint ("\rNotice: Teletext page with possible subtitles detected: %03d\n",thisp); | |||
printf ("\rNotice: Teletext page with possible subtitles detected: %03d\n",thisp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
printf are really NO, I would suggest use dbg_print (CCX_DMT_TELETEXT,
Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
According to #1034 added ability to print possible teletext pages in -out=report mode.