Jean-Yves Avenard
278692ecb6
Bug 1396515: Fix incorrect && and || operator placements. r=sylvestre
...
Includes some side 80 columns fix.
MozReview-Commit-ID: IXRoQfM0Hjc
2017-09-04 11:27:43 +02:00
Chris Pearce
991dc3fef6
Bug 1390748 - Remove unnecessary includes in *Decoders. r=jwwang
...
MozReview-Commit-ID: 3bfAdpopOfp
2017-08-16 17:19:39 +12:00
Chris Pearce
8036e0a69e
Bug 1390748 - Remove ChannelMediaDecoder::CloneImpl() and remove subclasses of ChannelMediaDecoder. r=jwwang
...
MozReview-Commit-ID: 6nlBArYgwEJ
2017-08-15 17:52:17 +12:00
Carsten "Tomcat" Book
726cfd127d
Backed out changeset d3c000525403 (bug 1390748)
2017-08-17 08:35:25 +02:00
Carsten "Tomcat" Book
58d80c0c1a
Backed out changeset 3f9350bf23ff (bug 1390748)
2017-08-17 08:35:20 +02:00
Chris Pearce
0c7b06e88c
Bug 1390748 - Remove unnecessary includes in *Decoders. r=jwwang
...
MozReview-Commit-ID: 3bfAdpopOfp
2017-08-16 17:19:39 +12:00
Chris Pearce
7152cad4ed
Bug 1390748 - Remove ChannelMediaDecoder::CloneImpl() and remove subclasses of ChannelMediaDecoder. r=jwwang
...
MozReview-Commit-ID: 6nlBArYgwEJ
2017-08-15 17:52:17 +12:00
Phil Ringnalda
34d25d405e
Backed out 10 changesets (bug 1390748) for build bustage
...
Backed out changeset 02b36ee5fb17 (bug 1390748)
Backed out changeset 84e8bf01c856 (bug 1390748)
Backed out changeset fc8989be30f3 (bug 1390748)
Backed out changeset 14d421ace6cc (bug 1390748)
Backed out changeset 7dadac869038 (bug 1390748)
Backed out changeset 0e77809e7bc2 (bug 1390748)
Backed out changeset bf78a8dce9c5 (bug 1390748)
Backed out changeset 5fa77990472e (bug 1390748)
Backed out changeset 5d3b637d2485 (bug 1390748)
Backed out changeset 634fe076d134 (bug 1390748)
MozReview-Commit-ID: Dxio8vXDCHg
2017-08-16 21:33:10 -07:00
Chris Pearce
8c5adbe235
Bug 1390748 - Remove unnecessary includes in *Decoders. r=jwwang
...
MozReview-Commit-ID: 3bfAdpopOfp
2017-08-16 17:19:39 +12:00
Chris Pearce
dd60f41cc6
Bug 1390748 - Remove ChannelMediaDecoder::CloneImpl() and remove subclasses of ChannelMediaDecoder. r=jwwang
...
MozReview-Commit-ID: 6nlBArYgwEJ
2017-08-15 17:52:17 +12:00
JW Wang
08b63f56e6
Bug 1383628. P1 - divide Clone() into 2 functions. r=gerald
...
Now we have a non-virtual Clone() and a virtual CloneImpl().
We will call Load() inside Clone().
MozReview-Commit-ID: Hd6p206Brhq
2017-08-03 17:39:55 +08:00
JW Wang
9cdfd73408
Bug 1386951 - have ChannelMediaDecoder implement CreateStateMachine() and fix includes. r=jya
...
The implementation will be shared by most of the sub-classes except OggDecoder
which needs to call demuxer->SetChainingEvents().
http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/dom/media/ogg/OggDecoder.cpp#25
This helps reducing code changes whenever we add a field to MediaFormatReaderInit.
MozReview-Commit-ID: 5K8NY1oxol4
2017-08-03 14:05:28 +08:00
JW Wang
74c1491a11
Bug 1378295. P1 - remove unused MFR::mDecoder. r=jya
...
MozReview-Commit-ID: BuvxlYs0LqD
2017-07-13 15:13:12 +08:00
JW Wang
ecec830b02
Bug 1380568. P1 - store FrameStatistics in MFR. r=jya
...
So we can remove the use of AbstractMediaDecoder::NotifyDecodedFrames().
MozReview-Commit-ID: Ch7Saha6zdi
2017-07-07 11:05:03 +08:00
JW Wang
bbbf59d39a
Bug 1316211. P15 - remove MDR from the base class of MFR. r=gerald
...
MozReview-Commit-ID: Jf5pCxkhexg
2017-07-19 22:18:37 +08:00
JW Wang
ca36e00427
Bug 1380532. P1 - pass GMPCrashHelper through MediaDecoderReaderInit to MFR. r=gerald
...
So we can reduce dependency on AbstractMediaDecoder.
See bug 1378295 comment 1 for the detail.
Note it is not ideal to repeat |init.mCrashHelper = ...| several times in
this patch. We will re-visit it to reduce code duplication after bug 1378295
is done.
MozReview-Commit-ID: AEC56ukqtYr
2017-07-13 10:19:36 +08:00
JW Wang
96f80aa1ca
Bug 1378689 - add a structure to pack the data sent to the MediaDecoderReader constructor. r=jya
...
It would be handy we want to pass more data to the constructor.
MozReview-Commit-ID: 3AUUsTbv534
2017-07-06 16:59:22 +08:00
JW Wang
86144037a8
Bug 1378316. P1 - store MediaDecoderReader in MediaDecoder. r=gerald
...
So we are able to dispatch NotifyDataArrived() to MediaDecoderReader in P2.
MozReview-Commit-ID: 3RM66uTvYSc
2017-07-05 17:21:17 +08:00
JW Wang
79d417a9f7
Bug 1378304. P2 - replace GetResource() with mResource in MediaDecoder sub-classes. r=jya
...
MozReview-Commit-ID: GRIBp3y0Cb7
2017-07-05 14:52:42 +08:00
JW Wang
f17989ec1b
Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce
...
MozReview-Commit-ID: Ci2kbts2pkQ
2017-06-20 18:10:27 +08:00
JW Wang
87f0f44500
Bug 1371200. P1 - add MediaDecoderInit and fix MediaDecoder constructor and its friends. r=cpearce
...
We will add more fields to MediaDecoderInit and be able to remove some setters.
MozReview-Commit-ID: BVx935IHQHf
2017-06-07 12:14:11 +08:00
Gerald Squelart
a84fd87582
Bug 1333314 - MediaCodecs::operator==(ascii literal) - r=jya
...
Instead of `...Codecs().AsString().EqualsASCII("...")`, one can just type
`...Codecs() == "..."`.
MozReview-Commit-ID: JS0yXhs0mz1
2017-01-24 15:42:48 +11:00
Gerald Squelart
34b7caba8a
Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya
...
MozReview-Commit-ID: F0BWai8vPyo
2017-01-18 11:59:03 +11:00
Gerald Squelart
bbbd4defc8
Bug 1330284 - Use MediaContentType in WaveDecoder - r=jya
...
MozReview-Commit-ID: DD8upS1VpAq
2016-12-20 19:09:41 +11:00
Jean-Yves Avenard
5e3cbf105c
Bug 1316205: P3. Remove WaveDecoder::IsEnable(). r=gerald
...
It would always return true, and there's already a MediaDecoder::IsWaveEnabled()
MozReview-Commit-ID: 6FXgMRMnVb9
2016-11-10 11:53:07 +11:00
Jean-Yves Avenard
124d5bfc50
Bug 1316205: P1. Remove unused WaveReader. r=kaku
...
MozReview-Commit-ID: 6pMFt9jrFED
2016-11-09 12:52:53 +11:00
Jean-Yves Avenard
430991a232
Bug 1271491: P6. Remove the need to call PDMFactory::Init(). r=cpearce
...
PDMFactory will automatically load and initialize the required frameworks upon first use.
Also fix constness of some methods.
MozReview-Commit-ID: HFbvTMRFAey
2016-05-12 18:54:35 +10:00
Gerald Squelart
ba02e820af
Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
...
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.
Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.
MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Louis Christie
b7e05b99e5
Bug 851530: Part 1 - Added support for decoding uLaw and aLaw enconded wave files. r=jya
2016-02-12 14:45:28 +13:00
Louis Christie
b2bc7570e4
Bug 1231793: Part 6 - Enabled the new Wave Data Decoder in DecoderTraits. r=jya
...
MozReview-Commit-ID: EdW4JJM3nO6
2016-02-17 00:28:50 +11:00
Louis Christie
0591b9bc6d
Bug 1231793: Part 5 - Added Wave Data Demuxer and Decoder. r=jya
2016-02-17 00:28:49 +11:00
Birunthan Mohanathas
417b400d55
Bug 946065 - Part 10: Move content/media/ to dom/. r=peterv
2014-10-25 20:24:36 +03:00