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
Chris Pearce
e6cdee1de3
Bug 1390748 - Create default MediaDecoder::GetMozDebugReaderData() implementation. r=jwwang
...
We have three implementations, in the MP4, WebM and MediaSource decoders. The
WebM and MP4 are the same. Ogg and other decoders don't have an implementation,
but if we create a default implementation in MediaDecoder, they'll get it for
free. MediaSourceDecoder needs a custom override still.
MozReview-Commit-ID: AXxn2Xhn0Jn
2017-08-15 17:07:13 +12:00
Carsten "Tomcat" Book
a2adbb8be1
Backed out changeset 2964dba33ef8 (bug 1390748)
2017-08-17 08:35:33 +02: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
Chris Pearce
2e1d7486d9
Bug 1390748 - Create default MediaDecoder::GetMozDebugReaderData() implementation. r=jwwang
...
We have three implementations, in the MP4, WebM and MediaSource decoders. The
WebM and MP4 are the same. Ogg and other decoders don't have an implementation,
but if we create a default implementation in MediaDecoder, they'll get it for
free. MediaSourceDecoder needs a custom override still.
MozReview-Commit-ID: AXxn2Xhn0Jn
2017-08-15 17:07:13 +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
Chris Pearce
bb221a96ba
Bug 1390748 - Create default MediaDecoder::GetMozDebugReaderData() implementation. r=jwwang
...
We have three implementations, in the MP4, WebM and MediaSource decoders. The
WebM and MP4 are the same. Ogg and other decoders don't have an implementation,
but if we create a default implementation in MediaDecoder, they'll get it for
free. MediaSourceDecoder needs a custom override still.
MozReview-Commit-ID: AXxn2Xhn0Jn
2017-08-15 17:07:13 +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
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
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
b1c2027a8e
Bug 1374930. P1 - add ChannelMediaDecoder to be the base class which uses channel-based MediaResource. r=cpearce
...
MozReview-Commit-ID: 6L4me2BQkgi
2017-06-19 15:50:09 +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
JW Wang
75bcb52440
Bug 1332160 - use nsCString internally whenever possible. r=gerald
...
MozReview-Commit-ID: 1DUaJWfbL88
2017-01-18 16:51:31 +08: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
e6796dfb60
Bug 1330284 - Use MediaContentType in WebMDecoder - r=jya
...
MozReview-Commit-ID: 5tcc9of73WR
2017-01-01 12:16:38 +11:00
Bryce Van Dyk
62a16a1a37
Bug 1257727, 1257729 - Update WebM handling to deal with encrypted WebMs. r=jya
...
- WebMDemuxer will read crypto information from WebM metadata.
- WebMDemumer adds crypto information to samples.
- WebMDemuxer can now return encryption info from GetCrypto().
- WebMDexmuer will not attempt to peek encrypted frames as it
will give back garbage data. This means resolution changes
internal to encrypted WebM files will not work.
- WebMDecoder now exposes a single string version of
CanHandleMediaType. This is done in the same way as the
Mp4Decoder, so that the future update to MediaKeySystemAccess
for WebM handling can maintain the same conventions.
MozReview-Commit-ID: CU3JVi3t7Vn
2016-05-27 14:34:54 +12:00
Jean-Yves Avenard
598227f93d
Bug 1236703: P2. Add methods to retrieve debugging data on plain readers. r=jwwang
2016-01-20 09:50:26 +11:00
Jean-Yves Avenard
a0074fc817
Bug 1240411: P4. Clean up readers headers. r=cpearce
...
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:31 +11:00
Jean-Yves Avenard
0536b67b4e
Bug 1191833: P1. Properly check webm mimetype against codec type. r=cpearce
...
Also move the logic inside WebMDecoder, this continue on with the logic used by MP4Decoder
2015-12-04 14:43:46 +11:00
JW Wang
7cc96c1d31
Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald.
2015-10-15 11:37:47 +08:00
JW Wang
1b514602de
Bug 1214989. Part 1 - add MediaDecoderOwner to the constructors of MediaDecoder and sub-classes. r=gerald.
2015-10-15 11:36:21 +08:00
Birunthan Mohanathas
417b400d55
Bug 946065 - Part 10: Move content/media/ to dom/. r=peterv
2014-10-25 20:24:36 +03:00