[PR #1775] Fix Teletext page detection in report mode (Fixes #1034) #2505

Open
opened 2026-01-29 17:22:29 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1775

State: closed
Merged: No


This pull request updates the Teletext processing logic in the process_data function to allow Teletext extraction in both normal extraction mode and report mode. The main change is to enable Teletext processing even when the encoder context (enc_ctx) is not present, as long as file reports are being printed.

Teletext extraction improvements:

  • Modified the conditional in process_data (in src/lib_ccx/general_loop.c) to allow Teletext processing when either enc_ctx is present or ccx_options.print_file_reports is enabled, enabling Teletext extraction in report mode.
  • Updated the call to tlt_process_pes_packet to use a default sentence_cap of 0 when enc_ctx is not available, ensuring correct behavior in report mode.
**Original Pull Request:** https://github.com/CCExtractor/ccextractor/pull/1775 **State:** closed **Merged:** No --- This pull request updates the Teletext processing logic in the `process_data` function to allow Teletext extraction in both normal extraction mode and report mode. The main change is to enable Teletext processing even when the encoder context (`enc_ctx`) is not present, as long as file reports are being printed. Teletext extraction improvements: * Modified the conditional in `process_data` (in `src/lib_ccx/general_loop.c`) to allow Teletext processing when either `enc_ctx` is present or `ccx_options.print_file_reports` is enabled, enabling Teletext extraction in report mode. * Updated the call to `tlt_process_pes_packet` to use a default `sentence_cap` of 0 when `enc_ctx` is not available, ensuring correct behavior in report mode.
claunia added the pull-request label 2026-01-29 17:22:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2505