Iris Hsiao
3cea13a680
Backed out 11 changesets (bug 1322650) for media test failures on android. a=backout
...
Backed out changeset 31bd912fba54 (bug 1322650)
Backed out changeset 4d486c7469eb (bug 1322650)
Backed out changeset 4cf8f4d5064c (bug 1322650)
Backed out changeset 3cb108f7492f (bug 1322650)
Backed out changeset bd53533c108e (bug 1322650)
Backed out changeset 3522917d8f10 (bug 1322650)
Backed out changeset 2c2c1e33eccc (bug 1322650)
Backed out changeset 2f19977cd6ab (bug 1322650)
Backed out changeset 4519296a323e (bug 1322650)
Backed out changeset e56e5e1c8786 (bug 1322650)
Backed out changeset 96fe52231b57 (bug 1322650)
2017-05-12 10:21:14 +08:00
James Willcox
22cf57191f
Bug 1322650 - Don't use AndroidBridge to get API version in media stack r=jolin
...
AndroidBridge is not available in child processes.
MozReview-Commit-ID: KlBs8F1Bu1O
2017-05-11 15:42:45 -05:00
Sebastian Hengst
5c7b4eeba5
Backed out changeset f94c4f5bf53a (bug 1322650)
2017-05-05 18:53:26 +02:00
Sebastian Hengst
9edce944de
Backed out changeset d047739306d9 (bug 1322650)
2017-05-05 18:53:00 +02:00
James Willcox
828b6fbe1a
Bug 1322650 - back out f94c4f5bf53a for test failures r=me
2017-05-05 11:04:57 -05:00
James Willcox
1d1813b680
Bug 1322650 - Don't use AndroidBridge to get API version in media stack r=jolin
...
AndroidBridge is not available in child processes.
MozReview-Commit-ID: KlBs8F1Bu1O
2017-05-05 08:56:40 -05:00
Jean-Yves Avenard
3366dcbc57
Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce
...
MozReview-Commit-ID: 22GEUnwEacd
2017-02-17 22:19:55 +01:00
Sebastian Hengst
71be4ca6aa
Backed out changeset f508a675e8dc (bug 1339748)
2017-02-18 17:36:21 +01:00
Jean-Yves Avenard
ebfd56f8ba
Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce
...
MozReview-Commit-ID: 22GEUnwEacd
2017-02-17 22:19:55 +01:00
Jean-Yves Avenard
1112820f6a
Bug 1334061: P6. Change arguments type. r=JamesCheng
...
Will make next change easier.
MozReview-Commit-ID: 5KUtuUOnH3U
2017-02-16 13:13:08 +01:00
Jean-Yves Avenard
443f891377
Bug 1334061: P2. Fix Android coding style. r=gerald
...
MozReview-Commit-ID: C9IkiSoPxsA
2017-02-16 13:00:34 +01:00
Jean-Yves Avenard
edd006e6d6
Bug 1340096: Remove MediaCodecDataDecoder. r=bwu,jolin
...
We prefer the RemoteDataDecoder instead.
MozReview-Commit-ID: SK0D3hycRh
2017-02-16 12:26:53 +01:00
Jean-Yves Avenard
d6b004c4a8
Bug 1319987: P5. Promisify MediaDataDecoder. r=cpearce,gerald,mattwoodrow,snorp
...
This is a big change, and unfortunately impossible to break down with independently functional commits.
There are four main changes being applied here:
* Code cleanup, including making all MediaDataDecoder related code mozilla coding style compliant
* Make MediaDataDecoder use MozPromise
* Making Flush and Shutdown processes fully asynchronous
* Fixing few data races encountered across the code, in particular in the Android PDM
MozReview-Commit-ID: DpiZucGofJT
2017-01-26 13:56:46 +01:00
James Cheng
f06f5c0c3d
Bug 1325558 - [EME][Fennec] Handle Sample wait for key for OOP decoding case. r=kikuo
...
MozReview-Commit-ID: KqdAdqdpAvX
2016-12-23 15:47:58 +08:00
karo
69043ca5e0
Bug 1321076 - PDMFactory defaults to using VPXDecoder when alpha is present. r=jya
...
FFmpegDecoderModule and AndroidDecoderModule returns nullptr if alpha is
present, then PDMFactory rolls over to using VPXDecoder.
MozReview-Commit-ID: H2JaolEfJgR
2016-12-21 15:00:17 +13:00
Jean-Yves Avenard
ace88ab323
Bug 1322070: P1. Don't attempt to decode some audio format. r=jolin
...
Rather than asserting that the bit depth is 16 bits, let it fallback to other PDMs
MozReview-Commit-ID: DnO3nvgEFAe
2016-12-05 08:05:35 +11:00
Jean-Yves Avenard
71cf71d594
Bug 1320705: P8. Don't use stagefright to decode vorbis. r=gerald
...
Fixing the codec mimetype in P6, had the side effect of Android PDM trying to use the stagefright decoder which crashes.
MozReview-Commit-ID: 1OSGGCTdGFO
2016-12-05 07:41:54 +11:00
Kilik Kuo
4a06d362fc
Bug 1307818-[P2] Setup MediaCrypto for both in-process and out-of-process decode. r=cpearce,jchen
...
MozReview-Commit-ID: Ehbm2u8LeLg
2016-11-16 22:10:01 +08:00
Ralph Giles
1ad4d18f68
Bug 1266792 - Don't play opus with AndroidDecoderModule. r=jya
...
The android 5.1.1 OMX decoder claims to support audio/opus
but crashes on the output of our mp4 demuxer. Work around
this by rejecting the mime type, allowing fallback to the
libopus-based AgnosticDecoderModule.
In any case, since we're shipping the libopus-based decoder
we're prefer to use it for consistency.
MozReview-Commit-ID: GQaTMALajnZ
2016-10-31 16:39:03 -07:00
James Cheng
6f7ead9faa
Bug 1304258 - Part2 - Use XXXArray::New instead. r=jchen
...
MozReview-Commit-ID: 2bqO7839fX2
2016-09-23 14:33:47 +08:00
Kilik Kuo
4141719c28
Bug 1302331 - [Part3] Create CryptoInfo from MediaRawData and deliver it to MediaCodecDataDecoder or remote codec decoder. r=jchen,jolin
...
MozReview-Commit-ID: 9pHHrhQPs9m
2016-09-20 16:44:30 +08:00
James Cheng
e976e06310
Bug 1295920 - Replace enum with enum class in PlatformDecoderModule.h. r=jya
...
MozReview-Commit-ID: lDjsTI82pV
2016-08-17 17:24:13 +08:00
John Lin
9ffb38fbbc
Bug 1257777 - Part 6: Implement remote data decoders and enable/disable them with pref. r=snorp
...
MozReview-Commit-ID: 54ZEckQHsBI
2016-08-05 15:24:46 +08:00
John Lin
b59908daa7
Bug 1257777 - Part 5: Seperate PDM and data decoders into different files. r=snorp
...
MozReview-Commit-ID: KP4hAZXLPAU
2016-08-05 15:24:06 +08:00
Matt Woodrow
873d6b711f
Bug 1292032 - Clean up VideoData static constructor methods. r=jya
2016-08-04 15:31:52 +12:00
Jim Chen
e8f534d407
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Jim Chen
9e607e9dd3
Bug 1286663 - Update existing code using ByteBuffer; r=me
2016-07-21 13:49:04 -04:00
Nathan Froyd
b37f588067
Bug 1282154 - add more override declarations for Android-specific code; r=snorp
2016-07-21 16:46:41 -04:00
Carsten "Tomcat" Book
be31f19100
Backed out changeset 7cd055ed9366 (bug 1286663) for android bustage on a CLOSED TREE
2016-07-21 08:18:59 +02:00
Carsten "Tomcat" Book
58f5467519
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
0ea27022be
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Jim Chen
3bd23d057b
Bug 1286663 - Update existing code using ByteBuffer; r=me
2016-07-21 00:41:13 -04:00
Dan Glastonbury
e63172cab6
Bug 1281632 - P1: Extract creation parameters and pass via struct. r=gerald
...
Extract all the parameters passed to CreateAudioDecoder/CreateVideoDecoder and
place them into a structure that is passed down to the creation of the actual
decoder, where the relevant parameters can be extracted.
This makes it easier to add more arguments to the Create*Decoder calls in future.
MozReview-Commit-ID: 9LZlcfRVz6A
2016-06-28 17:56:55 +12:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Alfredo Yang
e890782c53
Bug 1068151 - keep decoding a corrupted video. r=jya
2016-05-30 18:24:00 +02:00
JW Wang
cbe7f99505
Bug 1274216 - remove use of FlushableTaskQueue from PlatformDecoderModule. r=jya.
...
MozReview-Commit-ID: E3DG84yKRmw
2016-05-19 17:50:31 +08:00
Ryan VanderMeulen
a668852c77
Backed out changeset 0e4c5be816f3 (bug 1257107) for webm reftest failures.
...
CLOSED TREE
2016-05-19 10:39:07 -04:00
Alfredo Yang
2616966638
Bug 1257107 - Discard decoded data if its pts is smaller than seek time. r=jya
2016-05-17 21:46:00 -04:00
Eugen Sawin
1f6831c06b
Bug 1273523 - [1.2] Don't process output if no duration is available. r=snorp
2016-05-18 22:08:36 +02:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Jean-Yves Avenard
b689cc19f6
Bug 1267637: [android] P5. Reject audio data with unsupported audio configuration. r=gerald
...
MozReview-Commit-ID: LkXcG7HhJ2V
2016-04-27 17:50:23 +10:00
Benoit Girard
facbeb2b6f
Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
...
MozReview-Commit-ID: JveFLuIcbaN
2016-04-13 17:12:47 -04: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
Eugen Sawin
2637083ff6
Bug 1262456 - [2.1] Replace queue adapter with deque. r=snorp
2016-04-18 22:12:11 +02:00
Eugen Sawin
4a1fecaebf
Bug 1226730 - [1.1] Provide sample rate instead of bit depth in audio format creation. r=snorp
2016-04-15 14:30:42 +02:00
Eugen Sawin
55d46b4f5f
Bug 1262456 - [1.1] Prevent interruption of the decoder shutdown procedure and early shutdown return. r=snorp
2016-04-12 22:21:51 +02:00
Jean-Yves Avenard
7fc6840baa
Bug 1248861: P3. Use AlignedAudioBuffer object with AudioData. r=cpearce
...
MozReview-Commit-ID: 7HiF4eHlRwB
2016-04-03 23:09:45 +10:00
Eugen Sawin
ed6da1cad8
Bug 1232911 - [3.2] Block VPX support in ADM on unsupported devices. r=snorp
2016-03-30 13:19:33 +02:00