Commit Graph
137 Commits
Author SHA1 Message Date
Jean-Yves Avenard 3faca2d535 Bug 1403190 - P1. Rename media.windows-media-foundation.* into media.wmf.* prefs. r=cpearce
MozReview-Commit-ID: F9rQoGVPmRt
2017-09-26 17:00:57 +02:00
Sebastian Hengst 279fe0e2b2 Backed out changeset 31a7d05125cc (bug 1403190) for breaking Windows builds due to wrong closing quotation marks in preferences file. r=backout on a CLOSED TREE 2017-09-27 10:18:02 +02:00
Jean-Yves Avenard 9cd199e73c Bug 1403190 - P1. Rename media.windows-media-foundation.* into media.wmf.* prefs. r=cpearce
MozReview-Commit-ID: F9rQoGVPmRt
2017-09-26 17:00:57 +02:00
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 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 334bc41d90 Bug 1390748 - Create DecoderTraits::IsSupportedType(const MediaContainerType&). r=jwwang
Most ChannelMediaDecoder::CloneImpl() functions just check to see whether
their "is enabled" pref is still true, and then clone their true type.

If we had a function to check whether the decoder for an arbitrary type
was still enabled, we'd not need the "is enabled" checks in the CloneImpl()
implementations. We'd then have removed the last custom behaviour in the
ChannelMediaDecoder subclasses.


MozReview-Commit-ID: D7kW6kb6ztW
2017-08-15 17:38:16 +12:00
Chris Pearce e7fe9e4734 Bug 1390748 - Remove OggDecoder::CreateStateMachine(). r=jwwang
MozReview-Commit-ID: 2JgZ2Ppv6as
2017-08-15 16:21:35 +12:00
Carsten "Tomcat" Book 20f6229d35 Backed out changeset 57be2e971ae2 (bug 1390748) for bustage 2017-08-17 08:37:17 +02:00
Carsten "Tomcat" Book beffb1dab1 Backed out changeset 94c0ec4bf19e (bug 1390748) 2017-08-17 08:35:28 +02:00
Carsten "Tomcat" Book 726cfd127d Backed out changeset d3c000525403 (bug 1390748) 2017-08-17 08:35:25 +02: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 6e8d19c418 Bug 1390748 - Create DecoderTraits::IsSupportedType(const MediaContainerType&). r=jwwang
Most ChannelMediaDecoder::CloneImpl() functions just check to see whether
their "is enabled" pref is still true, and then clone their true type.

If we had a function to check whether the decoder for an arbitrary type
was still enabled, we'd not need the "is enabled" checks in the CloneImpl()
implementations. We'd then have removed the last custom behaviour in the
ChannelMediaDecoder subclasses.


MozReview-Commit-ID: D7kW6kb6ztW
2017-08-15 17:38:16 +12:00
Chris Pearce b3d034190b Bug 1390748 - Remove OggDecoder::CreateStateMachine(). r=jwwang
MozReview-Commit-ID: 2JgZ2Ppv6as
2017-08-15 16:21:35 +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 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 6a96e7d9f3 Bug 1390748 - Create DecoderTraits::IsSupportedType(const MediaContainerType&). r=jwwang
Most ChannelMediaDecoder::CloneImpl() functions just check to see whether
their "is enabled" pref is still true, and then clone their true type.

If we had a function to check whether the decoder for an arbitrary type
was still enabled, we'd not need the "is enabled" checks in the CloneImpl()
implementations. We'd then have removed the last custom behaviour in the
ChannelMediaDecoder subclasses.


MozReview-Commit-ID: D7kW6kb6ztW
2017-08-15 17:38:16 +12:00
Chris Pearce 0d537569a7 Bug 1390748 - Remove OggDecoder::CreateStateMachine(). r=jwwang
MozReview-Commit-ID: 2JgZ2Ppv6as
2017-08-15 16:21:35 +12:00
JW Wang 0424576da8 Bug 1384831. P2 - rewrite HTMLMediaElement::InitializeDecoderForChannel() and move HLSDecoder creation code to it. r=gerald
Since we will remove ChannelMediaDecoder from HLSDecoder's base class, we can't
create HLSDecoder in InstantiateDecoder which returns a ChannelMediaDecoder.

MozReview-Commit-ID: 9wcrIVIOZFp
2017-07-26 15:49:03 +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 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 364a0ea986 Bug 1316211. P13 - replace use of MediaDecoderReader with MediaFormatReader. r=gerald
We will remove MediaDecoderReader in the future.

MozReview-Commit-ID: BaCRXleKK5a
2017-07-19 17:01:32 +08:00
Jean-Yves Avenard 7e51fedec4 Bug 1379190: P1. Remove AndroidMediaDecoder and relatives. r=cpearce
They are no longer supported and can't work with API >= 16

MozReview-Commit-ID: JkftKxW5OtY
2017-07-13 12:54:03 +02:00
JW Wang 2f2bfdced5 Bug 1380234. P1 - pass KnowsCompositor to MFR through MediaDecoderReaderInit. r=jya
MozReview-Commit-ID: 3krK3meG5jV
2017-07-12 15:37:02 +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 4d3acee6e8 Bug 1378304. P3 - store MediaResource in MediaDecoderReader and replace the use of GetResource() with mResource. r=jya
Note MediaDecoderReader::GetBuffered() accesses mResource which is null
when it is actually a MediaFormatReader. However, it is OK for MediaFormatReader
will override UpdateBuffered() and will never call GetBuffered().

MozReview-Commit-ID: 5qcH4PHDzin
2017-07-05 14:53:31 +08:00
JW Wang 49ab5f621b Bug 1378304. P1 - pass a MediaResource* to DecoderTraits::CreateReader() to reduce the use of AbstractMediaDecoder::GetResource(). r=jya
MozReview-Commit-ID: CKFiqaBznVe
2017-07-05 14:07:54 +08:00
JW Wang 464e6d7a38 Bug 1376363. P1 - store container type in MediaDecoder. r=gerald
So we can remove MediaResource::GetContentType() in the future.

MozReview-Commit-ID: zWUNF2uGpf
2017-06-26 17:10:47 +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
James Cheng 056bb1154b Bug 1374953 - Allow audio/mpegurl as HLS media type. r=jya
MozReview-Commit-ID: 6J4A4G21D0N
2017-06-21 16:10:11 +08:00
Jan Henning 487b5a03bb Bug 1168435 - Part 3 - Remove separate MP3 name space. r=jya
MozReview-Commit-ID: D876PpLd93C
2017-06-15 15:32:20 +02:00
James Cheng afd61cf448 Bug 1372501 - Add checking whether HLS mimetype is supported in DecoderTraits::IsSupportedInVideoDocument. r=jya
MozReview-Commit-ID: I3THa5v1DAf
2017-06-13 15:56:32 +08:00
James Cheng c0b3dc57b9 Bug 1350246 - [Part6] Use DecoderTraits::IsHttpLiveStreamingType to implement HLSDecoder::IsSupportedType and use HLSDecoder::IsSupportedType to implement the following APIs for mimetype of HLS. r=jya
(1) Check if we should instantiate HLSDecoder in DecoderTraits::InstantiateDecoder.
(2) Reply CANPLAY_MAYBE in CanHandleMediaType on Fennec.

MozReview-Commit-ID: 4Y6Ju5yk6ha
2017-05-31 18:37:23 +08:00
James Cheng 2b772d697d Bug 1350246 - [Part5] Move IsHttpLiveStreamingType from DecoderTraits.cpp to its .h. and modify the callers related to this change. r=jya
MozReview-Commit-ID: 8lT9rUDmLvD
2017-05-18 14:47:55 +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
Jean-Yves Avenard 25bc0b5fe1 Bug 1370192: P1. Remove usage of DirectShowDecoder. r=cpearce
MozReview-Commit-ID: A3IOOIKR187
2017-06-05 12:59:46 +02:00
Sylvestre Ledru d99d6f2703 Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/media r=jya
MozReview-Commit-ID: IA3oVcvzTQw
2017-02-09 10:32:18 +01: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 91e649d9b9 Bug 1330284 - Use MediaContentType in DecoderTraits:IsHttpLiveStreamingType - r=jya
MozReview-Commit-ID: I0C3ulkYiGX
2016-12-28 09:26:42 +11:00
Gerald Squelart e88450dc00 Bug 1330284 - Use MediaCodecs in DirectShowDecoder and AndroidMediaPluginHost - r=jya
MozReview-Commit-ID: UJUk1OAAqG
2016-12-23 08:43:49 +11:00
Gerald Squelart f3e8abca19 Bug 1330284 - Use MediaContentType in CreateReader and MediaBufferDecoder - r=jya
MozReview-Commit-ID: E9yVaxNdLad
2016-12-22 11:57:48 +11:00
Gerald Squelart 9fc52e5b79 Bug 1330284 - Use MediaCodecs::Range() in DecoderTraits:CanHandleCodecsType() - r=jya
MozReview-Commit-ID: EFiDpSKw2JN
2016-12-22 10:12:42 +11:00
Gerald Squelart 0b90a05afd Bug 1330284 - Use MediaContentType in DecoderTraits:IsAndroidMediaType() - r=jya
MozReview-Commit-ID: 6gK5FqMDypq
2016-12-22 12:43:19 +11:00
Gerald Squelart a90178599e Bug 1330284 - Use MediaContentType in AndroidMediaPluginHost::CreateDecoder, AndroidMediaDecoder, AndroidMediaReader - r=jya
MozReview-Commit-ID: JvdBe8I9A2K
2016-12-28 15:07:45 +11:00
Gerald Squelart a31d7ccae8 Bug 1330284 - Use MediaContentType in AndroidMediaPluginHost::FindDecoder - r=jya
MozReview-Commit-ID: 8IwazcFA5Jr
2016-12-28 09:51:48 +11:00
Gerald Squelart 3a533e02ce Bug 1330284 - Use MediaContentType in DirectShowDecoder - r=jya
MozReview-Commit-ID: JKBAUVH49If
2016-12-23 15:53:16 +11:00
Gerald Squelart a428dc1517 Bug 1330284 - Use MediaContentType in FlacDecoder - r=jya
MozReview-Commit-ID: IwD2aXAmuQ4
2016-12-20 19:24:17 +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
Gerald Squelart 84dcdb50a2 Bug 1330284 - Use MediaContentType in ADTSDecoder - r=jya
MozReview-Commit-ID: A7HO1IzA1Dx
2016-12-20 18:57:26 +11:00
Gerald Squelart f959cbd0ca Bug 1330284 - Use MediaContentType in MP3Decoder - r=jya
MozReview-Commit-ID: eahpZyDfgH
2017-01-01 12:34:12 +11:00
Gerald Squelart c673c0bac5 Bug 1330284 - Use MediaContentType in MP4Decoder - r=jya
MozReview-Commit-ID: 9Npl40Iicjc
2017-01-01 12:27:45 +11:00