forked from TypesettingTools/Aegisub
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop truncating parsed times to <10h
All current renderers and muxers have no issues with longer timestamps. However, classic VSFilter keeping track of time with a 32-bit int, leads to a more meaningful limit at 596h, so enforce that instead. Since the stringification code for SRT and ASS (but not SMPTE) relied on hours being single digit, replace them with a simple format string. GUI inputs are still limited to <10h, but at least pre-existing timestamps no longer get mangled.
- Loading branch information
Showing
2 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters