gecko-dev/dom/media/platforms
John Lin 2a6faa6bf8 Bug 1508434 - p1: Support explicitly resetting seek threshold. r=jya
Usually the threshold is reset internally in MediaDataDecoder subclasses
that support the hint in their Flush() implementations so the value
will start fresh after seeking completed. But sometimes when there are
consecutive seek requests, MediaFormatReader::DecoderData::Flush() could
return early because DecoderData::mFlushed stays true when there is no
sample demuxed yet, and the threshold will not be cleared. Also, in
MediaFormatReader::SetVideoDecodeThreshold() we decide not to set the
hint when the seek target is close to EOS by checking the existence of
the next keyframe, and that could fail when there are gaps between MSE
buffered ranges. To make sure the hint is never out of date, we should
clear it rather than leaving it untouched.

Differential Revision: https://phabricator.services.mozilla.com/D15227

--HG--
extra : moz-landing-system : lando
2019-01-11 17:07:49 +00:00
..
agnostic Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya 2019-01-11 15:29:45 +00:00
android Bug 1508434 - p1: Support explicitly resetting seek threshold. r=jya 2019-01-11 17:07:49 +00:00
apple Bug 1508434 - p1: Support explicitly resetting seek threshold. r=jya 2019-01-11 17:07:49 +00:00
ffmpeg Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce 2018-12-17 17:29:13 +00:00
omx Bug 1510265 - P1. Enforce template-parameter classes restrictions in MozPromise. r=gerald 2018-12-06 16:26:01 +00:00
wmf Bug 1508434 - p1: Support explicitly resetting seek threshold. r=jya 2019-01-11 17:07:49 +00:00
wrappers Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya 2019-01-11 15:29:45 +00:00
AllocationPolicy.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AllocationPolicy.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaTelemetryConstants.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
moz.build Bug 1493400 - Implement platform decoder for dav1d. r=jya 2018-11-27 14:18:58 +00:00
PDMFactory.cpp Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya 2019-01-11 15:29:45 +00:00
PDMFactory.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PEMFactory.cpp Bug 1425277 - p7: add apple encoder module and factory. r=jya 2018-11-26 18:29:08 +00:00
PEMFactory.h Bug 1425277 - p7: add apple encoder module and factory. r=jya 2018-11-26 18:29:08 +00:00
PlatformDecoderModule.h Bug 1508434 - p1: Support explicitly resetting seek threshold. r=jya 2019-01-11 17:07:49 +00:00
PlatformEncoderModule.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ReorderQueue.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SimpleMap.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00