Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r236258 - [MSE] Use some tolerance when deciding whether a fram…
…e should be appended to the decode queue https://bugs.webkit.org/show_bug.cgi?id=189782 Reviewed by Xabier Rodriguez-Calvar. Ideally, container formats should use exact timestamps and frames should not overlap. Unfortunately, there are lots of files out there where this is not always the case. This is particularly a problem in WebM, where timestamps are expressed in a power of 10 timescale, which forces some rounding. This patch makes SourceBuffer allow frames with a small overlaps (<=1ms) as those usually found in WebM. 1 ms is chosen because it's the default time scale of WebM files. * Modules/mediasource/SourceBuffer.cpp: (WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample):
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
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