mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +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?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1824
State: closed
Merged: Yes
Summary
pts_set = MinPtsSetafter updatingmin_pts, enabling continuedfts_nowcalculationRoot Cause
In
set_fts()when handling PTS jumps:fts_offsetandmin_ptsfor the new timelinepts_set = Receivedwithout ever setting it back toMinPtsSetfts_nowcalculation only runs whenpts_set == MinPtsSet, so after a PTS jump, all timestamps would be stuckFix
Set
pts_set = MinPtsSetafter settingmin_ptsin the PTS jump handling code. This allowsfts_nowto continue being calculated correctly after the discontinuity.Test Results
Before fix: Only 213 captions extracted, timing stuck at ~7 minutes
After fix: All 618 captions extracted, timing correctly continues to ~21 minutes (matching v0.84 reference output)
Test plan
🤖 Generated with Claude Code