Commit Graph

55 Commits

Author SHA1 Message Date
Jean-Yves Avenard
4fa8a128f8 Bug 1096769 - Rewrite mac audio decoder to support raw AAC. r=rillian 2014-11-20 01:03:30 +11:00
Bobby Holley
bc859c949e Bug 1100776 - Reference-count MediaData. r=cpearce 2014-11-19 13:01:10 -08:00
Jean-Yves Avenard
8802690414 Bug 1101291 - Add support for libavformat v56. r=k17e 2014-11-19 12:53:59 +11:00
Blake
4f238c440a Bug 1100820 - Stop reading output data from MediaCodecProxy. r=edwin. 2014-11-18 18:04:29 +08:00
James Willcox
2900588746 Bug 1101225 - Don't set the is-adts flag for the Android PDM. r=rillian
Pass raw aac frames to the platform, which handles those fine.
2014-11-18 16:01:00 -08:00
James Willcox
09ea4ab67a Bug 1099260 - Clean up logging and error handling in AndroidDecoderModule r=cpearce
--HG--
extra : rebase_source : 6cbdd6e7f7874ecebbfe464cf167e03996ec7b06
2014-11-18 19:28:49 -06:00
James Willcox
3e6ebf05de Bug 1097116 - Correctly implement Drain() in AndroidDecoderModule r=cpearce
--HG--
extra : rebase_source : 8764f15761c68a6f07a1ce5e0ccd842d56274519
2014-11-18 19:28:24 -06:00
Anthony Jones
4b72865ad1 Bug 1036849 - Create SharedDecoderManager and SharedDecoderProxy; r=blakewu 2014-11-05 02:14:00 +13:00
Chris Pearce
cf66ebeef4 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Carsten "Tomcat" Book
e82039ee5f Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests 2014-11-18 13:14:36 +01:00
Chris Pearce
a3c839088d Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Chris Pearce
5cd5299c7c Bug 1095257 - backout 54f79521758b due to m3 failures. r=backout r=bz 2014-11-18 19:49:13 +13:00
Chris Pearce
9b3859c6b0 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz 2014-11-18 17:20:02 +13:00
Wes Kocher
f4f3fe8778 Backed out changeset 46b6cb002a34 (bug 1036849) for leaks on a CLOSED TREE 2014-11-17 17:16:25 -08:00
Anthony Jones
11d0047b73 Bug 1036849 - Create ShareDecoderManager and SharedDecoderProxy; r=blakewu 2014-11-05 02:14:00 +13:00
Anthony Jones
321573c2a5 Bug 1036849 - Clean up AnnexB handling; r=jya 2014-11-18 13:12:58 +13:00
Alfredo Yang
0d2043f555 Bug 1098994 - Update video output buffer when gets INFO_OUTPUT_BUFFERS_CHANGED from OMX. r=edwin 2014-11-16 19:07:00 +01:00
Jean-Yves Avenard
13131954e4 Bug 1098637 - Enforce FFmpeg's audio decode API. r=edwin 2014-11-15 10:19:55 +11:00
Ryan VanderMeulen
a57cc1e610 Backed out changeset fa836f2dccb6 for introducing new Win7 leaks.
CLOSED TREE
2014-11-14 15:24:17 -05:00
Daniel Holbert
fc5b1ec4da Bug 1098400: Drop now-unused private member-variable 'mConfig' from FFmpegAudioDecoder, to fix clang build warning. r=edwin 2014-11-14 08:42:31 -08:00
Chris Pearce
3512654c52 Bug 1038031 - Make MP4Reader decode asynchronously - r=kinetik 2014-07-20 12:54:00 +12:00
Matt Woodrow
7200450604 Bug 1098680 - Use the image size rather than the display size when initializing the apple h264 decoders. r=ajones 2014-11-14 17:15:42 +13:00
James Willcox
a24b125d4b Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Alfredo Yang
6bbfb4efe8 Bug 1098195 - Return false when failing to get output format. r=edwin 2014-11-13 01:26:00 -05:00
Blake
65a6b8003b Bug 1043274 - Use GraphicBuffer on GonkDecoderModule. r=edwin, r=sotaro 2014-11-12 17:34:21 +08:00
Jean-Yves Avenard
2e8dc21d44 Bug 1075332 - Refactor mac audio decoder. Properly calculate timestamps. r=rillian
Also, in order to prevent the MediaDecoderStateMachine to stall waiting for audio data,
feed back as many decoded audio frame as were first submitted to the decoder in one go.
2014-11-12 15:13:02 +11:00
Anthony Jones
7606626072 Bug 1097449 - Add locking around libav open/close; r=jya 2014-11-13 17:50:26 +13:00
Ryan VanderMeulen
ed07fc09dc Backed out changeset f8ff4c7a978a (bug 1097449) for leaks on a CLOSED TREE. 2014-11-12 22:03:25 -05:00
Anthony Jones
550b43250c Bug 1097449 - Add locking around libav open/close; r=jya 2014-11-13 14:48:08 +13:00
Jean-Yves Avenard
340200875b Bug 1096764: Add Raw AAC sample support to FFmpeg audio decoder. r=edwin 2014-11-11 19:28:33 +11:00
Bobby Holley
f9ac6505ff Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Matthew Gregan
bd064d7568 Bug 1091704 - Delay buffer frame calculation in WMF audio decoder until after UpdateOutputType to avoid using obsolete rate/channel values. r=cpearce 2014-11-11 14:17:09 +13:00
Anthony Jones
356e211d26 Bug 1091976 - Process MP4Reader::NotifyDataArrived() immediately; r=edwin 2014-11-10 13:32:09 +13:00
Jean-Yves Avenard
059f6cb92c Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Carsten "Tomcat" Book
f1c2d2d177 Backed out changeset 44f27b3c35d4 (bug 1065827) 2014-11-06 14:59:04 +01:00
Jean-Yves Avenard
cb1ecfbc37 Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Jean-Yves Avenard
4d11a6efb7 Bug 1079621 - Change non-fatal errors to warnings. r=rillian
This resolves intermittent failures in continuous integration.

NS_ERROR() triggers an assertion in debug builds, which tinderbox
reports as a failure. NS_WARNING calls NS_DebugBreak, but with the
lower severity level it skips invoking the debugger.
2014-11-06 12:29:45 +11:00
Matt Woodrow
f2179de021 Bug 1056441 - Make MediaSourceReader seeking asynchronous. r=kinetik 2014-11-05 13:32:26 +13:00
Carsten "Tomcat" Book
c26db049b1 Backed out 10 changesets (bug 1091008, bug 1093020, bug 1063323) for windows m2 permanent test failures on a CLOSED TREE
Backed out changeset 21ddb8a58fea (bug 1093020)
Backed out changeset fe9e11333c7d (bug 1093020)
Backed out changeset bba774c54652 (bug 1063323)
Backed out changeset 16f58d7e1e17 (bug 1091008)
Backed out changeset 649bfc6dad4d (bug 1091008)
Backed out changeset 6f270b2d90f4 (bug 1091008)
Backed out changeset 966093bbc26a (bug 1091008)
Backed out changeset 9de4746aa59a (bug 1091008)
Backed out changeset 856016c0118a (bug 1091008)
Backed out changeset 8aaa10a8d956 (bug 1091008)
2014-11-05 12:57:43 +01:00
Bobby Holley
2c76301bbe Bug 1091008 - Hoist stream pinning into the MediaDecoderReaders and make MediaDecoderStateMachine::GetBuffered just forward to them. r=cpearce
Whether or not we ping a stream depends a lot on what kind of decoder we're
dealing with. In particular, it doesn't really make sense for MSE.
2014-11-05 10:08:58 +01:00
Bobby Holley
898cc7bcbf Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-05 10:08:58 +01:00
Anthony Jones
f85013ef40 Bug 1094049 - Make GonkDecoderModule use currect display height; r=bwu 2014-11-05 16:18:32 +08:00
Bobby Holley
9341edfd88 Bug 1090991 - Modify MediaData::Type so that it may serve as a general-purpose enum for distinguishing audio and video. r=cpearce
We don't seem to have something like this already, and this seemed better than
introducing yet another new enum.
2014-11-03 09:20:14 +01:00
Ralph Giles
5281f82c2d Bug 1073805 - Apply ADTS header for Gonk. r=cpearce. 2014-10-30 17:01:00 -07:00
Ralph Giles
54fefa2ced Bug 1073805 - Add ADTS header for FFmpeg. r=cpearce.
Keep a reference to the AudioDecoderConfig so we can pass the
appropriate values to the Adts method from our Input method.
2014-10-30 16:26:00 -07:00
Ralph Giles
f2efc69e3e Bug 1073805 - Apply ADTS header for Android. r=cpearce. 2014-10-30 17:07:00 -07:00
Ralph Giles
d864351cac Bug 1073805 - Apply ADTS headers to AAC on MacOS. r=cpearce
Our AudioFileStream parser needs the headers to find the sample
boundaries.
2014-10-30 15:47:00 -07:00
Chris Pearce
c713e384a6 Bug 1073805 - Pass raw AAC to Windows PlatformDecoder. r=kinetik
This avoids problems creating an ADTS header for newer HE-AAC profiles.
2014-10-30 15:45:00 -07:00
James Willcox
e9bc2ce458 Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
--HG--
extra : rebase_source : 2b3b3a43e54cdcdac87e303a2705e8be7c60d3dd
2014-10-29 18:40:06 -05:00
Ralph Giles
8019521228 Bug 1091304 - Improve fmp4 logging. r=kinetik
The %#x format specifier for hex values doesn't work with our
logging macros, and MacOS error codes are generally listed
in decimal anyway.

Also log the reason for a Drain() call to assist debugging.
2014-10-29 17:09:00 -07:00