Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve timestamp logging and restrict fixup code.
The new logging is greatly improved to provide information such as which timestamps are active (reordered or dts) and if fixups are being invoked. We now only provide fixups for timestamps that are equal to or upto one frame interval less than the last video timestamp. The previous code would fixup timestamps that were upto 10 seconds behind the last used video timestamp. This caused the code to start tracking a bogus timestamp upto 10 seconds in the future. I'm seriously considering just removing fixups for timestamps in the past. We now use reordered pts timestamps and if they have issues then we switch back to using dts. This should mean that we really only need fixups for missing timestamps which are normal for some types of video. It would be interesting to know if there are any videos out there without any good type of timestamps available and if so what we could realistically do about it.
- Loading branch information
Showing
2 changed files
with
17 additions
and
8 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