mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1891] [CLOSED] Fix infinite binary output when processing .ts files with no subtitles #2678
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/1891
Author: @tusharbhatt7
Created: 12/24/2025
Status: ❌ Closed
Base:
master← Head:fix-infinite-binary-output-1754📝 Commits (1)
64f8435Fix infinite binary output when processing .ts files with no subtitles📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/lib_ccx/ts_functions.c(+1 -1)📄 Description
Problem
When CCExtractor processes a .ts file that contains no subtitles, it produces infinite binary/hex-like output in the terminal instead of stopping gracefully.
Solution
Removed the
dump()call incopy_capbuf_demux_data()forCCX_PRIVATE_MPEG2_CCbuffer type. This dump was usingCCX_DMT_GENERIC_NOTICESwhich is enabled by default, causing continuous binary output to the terminal.Changes
dump(CCX_DMT_GENERIC_NOTICES, ...)call fromcopy_capbuf_demux_data()functionTesting
CCX_PRIVATE_MPEG2_CCbuffer type correctlyFixes #1754
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.