gecko-dev/dom/media/platforms
Jean-Yves Avenard 45d7f2628e Bug 1370805: P3. Use whichever extradata is available when constructing the decoder. r=jwwang
Prior bug 1313398, the only time we would call H264Converter::CreateDecoderAndInit was if we encountered AVC3 content where the H264 extradata didn't exist in the metadata.
AVC3 was the only situation where mDecoder would be null after construction.

However, now, it is possible for the construction of the decoder to be interrupted, which would leave mDecoder null. For AVC1 content, if this happened, we wouldn't have in-band SPS/PPS necessary for CreateDecoderAndInit to complete.
So we use whichever extradata is available.

MozReview-Commit-ID: 702xj045LAv

--HG--
extra : rebase_source : e85077cedfece066398e36d8a4dd16f4bd406db6
2017-06-07 15:14:57 +02:00
..
agnostic Bug 1369950 - Update aom. r=gerald 2017-05-10 14:16:55 -07:00
android Bug 1366706 - accepts video frames with negative timestamp but non-zero size. r=jya 2017-06-06 16:11:33 +08:00
apple Bug 1359715 - let functions in MediaData.h take TimeUnit instead of int64_t. r=kaku 2017-04-24 17:33:05 +08:00
ffmpeg Backed out changeset ff724e355b2d (bug 1345342) per jya's request. 2017-06-05 15:58:41 +08:00
omx Bug 1365872 - remove parsing mp4v mCodecSpecificConfig which is for b2g. r=jya 2017-05-18 16:54:43 +08:00
wmf Bug 1360006: Whitelist VP9 decoder to intel GPU only. r=mattwoodrow 2017-06-01 22:17:56 +02:00
wrappers Bug 1370805: P3. Use whichever extradata is available when constructing the decoder. r=jwwang 2017-06-07 15:14:57 +02:00
MediaTelemetryConstants.h
moz.build Bug 1314147 - Add AOMDecoder. r=jya 2017-04-19 13:19:32 -07:00
PDMFactory.cpp Bug 1349128 - Remove duplicated AndroidDecoderModule in mCurrentPDMs if both PDMAndroidMediaCodecEnabled and PDMAndroidMediaCodecPreferred are set to true; r=jya 2017-03-22 14:14:09 +08:00
PDMFactory.h Bug 1349128 - Remove duplicated AndroidDecoderModule in mCurrentPDMs if both PDMAndroidMediaCodecEnabled and PDMAndroidMediaCodecPreferred are set to true; r=jya 2017-03-22 14:14:09 +08:00
PlatformDecoderModule.h Bug 1344649 - part 5: deprecate ConfigurationChanged() once again. r=jya 2017-03-14 12:58:27 +08:00
ReorderQueue.h Bug 1274626 part 3 - make the blank video decoder return samples in PTS order; r=jya 2016-08-03 15:22:49 +08:00
SimpleMap.h Bug 1344649 - part 3: rename DurationMap and turn it into a generic class. r=jya 2017-03-07 19:49:08 +08:00