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?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1824
Author: @cfsmp3
Created: 12/14/2025
Status: ✅ Merged
Merged: 12/14/2025
Merged by: @cfsmp3
Base:
master← Head:fix/issue-1277-pts-jump-timing📝 Commits (1)
00d0777fix(timing): Set pts_set to MinPtsSet after PTS jump to continue fts_now updates📊 Changes
1 file changed (+10 additions, -6 deletions)
View changed files
📝
src/rust/lib_ccxr/src/time/timing.rs(+10 -6)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.