mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ff5415dbf5
mLast{Audio,Video}Time differs from the actual end time because of Bug 1065207 - the duration of a WebM fragment is an estimate not the actual duration. In the case of audio time an example of where they differ would be the actual sample duration being small but the previous sample being large. The buffered end time uses that last sample duration as an estimate of the end time duration giving an end time that is greater than mLastAudioTime, which is the actual sample end time. Reader switching is based on the buffered end time though so we can't use the actual sample end time for switching comparison. For this reason we use the end time from the buffers to compare if we should switch readers in this patch. We also add an EOS_FUZZ_US to allow for the fact that it is an estimate and can differ slightly from actual times. --HG-- extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef |
||
---|---|---|
.. | ||
test | ||
AsyncEventRunner.h | ||
ContainerParser.cpp | ||
ContainerParser.h | ||
MediaSource.cpp | ||
MediaSource.h | ||
MediaSourceDecoder.cpp | ||
MediaSourceDecoder.h | ||
MediaSourceReader.cpp | ||
MediaSourceReader.h | ||
MediaSourceResource.h | ||
MediaSourceUtils.cpp | ||
MediaSourceUtils.h | ||
moz.build | ||
ResourceQueue.h | ||
SourceBuffer.cpp | ||
SourceBuffer.h | ||
SourceBufferDecoder.cpp | ||
SourceBufferDecoder.h | ||
SourceBufferList.cpp | ||
SourceBufferList.h | ||
SourceBufferResource.cpp | ||
SourceBufferResource.h | ||
TrackBuffer.cpp | ||
TrackBuffer.h |