Skip to content

Conversation

@aler9
Copy link
Member

@aler9 aler9 commented Oct 23, 2025

Fixes #4711

The timestamp difference between two samples was put inside an unsigned integer, and, when negative, caused an overflow.

@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.57%. Comparing base (4ff80d7) to head (390e57c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5126      +/-   ##
==========================================
+ Coverage   54.71%   55.57%   +0.86%     
==========================================
  Files         183      183              
  Lines       18716    15453    -3263     
==========================================
- Hits        10240     8588    -1652     
+ Misses       7756     6146    -1610     
+ Partials      720      719       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

aler9 added a commit to bluenviron/gohlslib that referenced this pull request Oct 23, 2025
aler9 added a commit to bluenviron/gohlslib that referenced this pull request Oct 23, 2025
The timestamp difference between two samples was put inside an unsigned
integer, and, when negative, caused an overflow.
@aler9 aler9 changed the title recorder: fix huge durations of some segments (#4711) recorder: prevent FMP4 durations from overflowing (#4711) Oct 23, 2025
@aler9 aler9 merged commit c42642a into main Oct 26, 2025
9 checks passed
@aler9 aler9 deleted the fix/recorder branch October 26, 2025 14:52
aler9 added a commit to bluenviron/gohlslib that referenced this pull request Oct 26, 2025
@github-actions
Copy link
Contributor

This issue is mentioned in release v1.15.4 🚀
Check out the entire changelog by clicking here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] [Recorder, fmp4. h264 only] Incorrect segment duration is determined (or written) on record segment finalization.

2 participants