gecko-dev/dom/media/platforms/apple
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
..
AppleATDecoder.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AppleATDecoder.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AppleDecoderModule.cpp Bug 1425277 - p3: fix misplaced dependent header. r=jya To address compile error when AppleVTDeocder.cpp is moved to another unified source file or in non-unified builds. 2018-11-26 18:27:49 +00:00
AppleDecoderModule.h Bug 1425277 - p2: remove dynamic apple framework linkers. r=jya No need for own linkers anymore for CoreMedia and VideoToolbox are both available on our minimal supported version (10.9). 2018-11-26 18:27:32 +00:00
AppleEncoderModule.cpp Bug 1425277 - p7: add apple encoder module and factory. r=jya 2018-11-26 18:29:08 +00:00
AppleEncoderModule.h Bug 1425277 - p7: add apple encoder module and factory. r=jya 2018-11-26 18:29:08 +00:00
AppleUtils.h Bug 1425277 - p4: RAII for CVBuffer. r=jya 2018-11-26 18:28:13 +00:00
AppleVTDecoder.cpp Bug 1508434 - p1: Support explicitly resetting seek threshold. r=jya 2019-01-11 17:07:49 +00:00
AppleVTDecoder.h Bug 1425277 - p2: remove dynamic apple framework linkers. r=jya No need for own linkers anymore for CoreMedia and VideoToolbox are both available on our minimal supported version (10.9). 2018-11-26 18:27:32 +00:00
AppleVTEncoder.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
AppleVTEncoder.h Bug 1425277 - p6: implement media encoder using Apple VideoToolbox API. r=jya 2018-11-26 18:30:08 +00:00