mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-19 04:22:49 +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/1813
Author: @Rahul-2k4
Created: 12/14/2025
Status: ❌ Closed
Base:
master← Head:fix-teletext-page-detection-in-report-mode-fixes-1034📝 Commits (10+)
51b862fAdd teletext report functionality to general_loop.c95efa93Initial plan69672c8Add changelog entry for Teletext report mode fixdcc01e7Merge pull request #1 from Rahul-2k4/copilot/fix-teletext-page-detection349ca6aInitial plan80f78f1Initial plan for fixing formatting issues8c2e54aMerge pull request #2 from Rahul-2k4/copilot/fix-formatting-issues1ff7368Initial plan95661dfUpdate vcpkg baseline to fix libxml2 hash mismatchd6b7052Merge pull request #3 from Rahul-2k4/copilot/update-libxml2-hash📊 Changes
10 files changed (+187 additions, -88 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
docs/OCR.md(+16 -0)📝
src/lib_ccx/ccx_encoders_common.c(+27 -4)📝
src/lib_ccx/general_loop.c(+19 -6)📝
src/lib_ccx/hardsubx_decoder.c(+28 -7)📝
src/lib_ccx/ocr.c(+40 -4)📝
src/lib_ccx/telxcc.c(+5 -1)📝
src/rust/Cargo.lock(+9 -54)📝
src/rust/src/hardsubx/classifier.rs(+31 -1)📝
windows/vcpkg.json(+11 -11)📄 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.