mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-18 12:03:00 +00:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1787
Author: @Rahul-2k4
Created: 12/9/2025
Status: ❌ Closed
Base:
master← Head:master📝 Commits (6)
9e9023cInitial plan1f7120fApply teletext page detection fix from fix branchebe25afFix indentation to use tabs consistently17a8e1eRemove unintended Cargo.lock changesf30f276Apply code style fixes from clang-formatd524a02Merge pull request #2 from Rahul-2k4/copilot/fix-teletext-page-detection-issue-1034📊 Changes
2 files changed (+40 additions, -6 deletions)
View changed files
📝
src/lib_ccx/ccx_encoders_common.c(+22 -0)📝
src/lib_ccx/general_loop.c(+18 -6)📄 Description
This PR fixes Issue #1034, where running CCExtractor with -out=report does not list Teletext pages that contain possible subtitles, even though the same pages are correctly detected during normal extraction.
In report-only mode, CCExtractor skips Teletext PES packet processing because the encoder context (enc_ctx) is not created. Since subtitle-page detection happens inside Teletext packet parsing, no pages are recorded in seen_sub_page[], resulting in an empty Pages With Subtitles: field in the final report.
This PR enables Teletext detection in -out=report mode and ensures proper memory cleanup when the encoder is absent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.