Peter Van der Beken
688c64b71b
Backout 58e2cab9572e, bad patch.
2014-11-04 12:35:02 +01:00
Peter Van der Beken
baa4f7ed4e
Bug 1089049 - crash in nsContentUtils::CanCallerAccess(nsINode*), Browser crashes if contextNode is null of document.evaluate. r=bz.
...
--HG--
extra : rebase_source : 00d2454f8de660a6432d30324529df02b52dd618
2014-11-04 10:20:08 +01:00
Carsten "Tomcat" Book
a369313d4b
Backed out changeset 221ca54f4df0 (bug 1092096) for m2 test failures
2014-11-04 10:32:32 +01:00
Chris Pearce
b8014abf5b
Bug 1088130 - Change for loop in GMP OP gtest so that it builds with VisualStudio 2010. r=bobowen
2014-11-03 22:40:00 +00:00
Anthony Jones
005b05de5c
Bug 1092096 - Separate MSE prefs for MP4 and WebM; r=cajbir
2014-11-04 15:22:26 +08:00
Vaibhav Agrawal
9ac0482856
Bug 1083347 - Removing entries from android23.json and annotating manifests. r=gbrown
2014-11-03 12:01:51 -08:00
Bob Owen
de12f8c051
Bug 1088130: Add to TestGMPCrossOrigin.cpp gtest to test that the APIs required for Output Protection on Windows work within the sandbox. r=cpearce
2014-11-03 10:02:30 +00:00
Jacek Caban
1fb284960f
Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce
2014-11-03 10:28:52 +01:00
Bobby Holley
efd90d884a
Bug 1090991 - Introduce a new NotDecodedReason WAITING_FOR_DATA and use it for MSE. r=cpearce,r=cajbir
2014-11-03 09:20:15 +01:00
Bobby Holley
a757b63f7e
Bug 1090991 - Unify MediaDecoderStateMachine::On{DecodeError,AudioEOS,VideoEOS} and eliminate duplicated logic. r=cpearce
...
We take this opportunity to align the behavior of Finish() calls between audio
and video EOS, invoking them unconditionally for both cases. Currently both
cases always call Finish() immediately, with the exception of:
(A) Video in seeking mode, where we may push mFirstVideoFrameAfterSeek before
doing so, and
(B) Video in the |default:| case.
Push() and Finish() seem like orthogonal operations on MediaQueue, but we
nonetheless preserve the old order just in case. There doesn't seem to be a good
reason for (B).
2014-11-03 09:20:14 +01:00
Bobby Holley
a215c61b6a
Bug 1090991 - Refactor RequestSampleCallback to use a single callback for all "not decoded" message. r=cpearce,r=cajbir
...
I'm going to add another one, and want this API to scale better than it does.
2014-11-03 09:20:14 +01:00
Bobby Holley
a6e295e57c
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
JW Wang
eaff88ccea
Bug 1079695 - Part 3 - fix const-correctness of MediaDecoderStateMachine. r=kinetik
2014-10-30 21:12:00 +01:00
JW Wang
4d39082ebf
Bug 1079695 - Part 2 - remove audio clock wordaround from MediaDecoderStateMachine. r=kinetik.
2014-11-02 18:06:00 +01:00
JW Wang
b170447565
Bug 1079695 - Part 1 - ensure AudioSink::GetPosition() is mono-increasing in spite of AudioStream error. r=kinetik
2014-10-30 21:10:00 +01:00
JW Wang
ffcd9af8d5
Bug 1021794 - Fix and re-enable test_played.html. r=cpearce
2014-10-30 20:51:00 +01:00
Ralph Giles
f67d2db3b3
Bug 1073805 - Apply ADTS header for Gonk. r=cpearce.
2014-10-30 17:01:00 -07:00
Ralph Giles
e4de5b19f4
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
ba2b4afbf2
Bug 1073805 - Apply ADTS header for Android. r=cpearce.
2014-10-30 17:07:00 -07:00
Ralph Giles
f16eb3b79f
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
6a90558a75
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
Chris Pearce
7ab137b8fd
Bug 1092860 - Fix GMPVideoFrameType and GMPSessionType serialization. r=jesup
2014-11-03 13:53:01 +13:00
JW Wang
bc6d9cfe16
Bug 1091436 - Enable test_chaining.html on B2G. r=cpearce
2014-10-30 06:37:00 +01:00
James Willcox
91aaa3e40b
Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
...
--HG--
extra : rebase_source : 2b3b3a43e54cdcdac87e303a2705e8be7c60d3dd
2014-10-29 18:40:06 -05:00
Jean-Yves Avenard
d010e3f711
Bug 1090900 - Issue SimpleTest.finish() even if test failed. r=padenot
2014-10-30 12:15:58 +11:00
Bobby Holley
053e9ca254
Bug 1090983 - Invoke UpdateReadyState() after invoking SetState(). r=cpearce
...
Otherwise, UpdateReadyState() will think that nothing has changed.
2014-10-30 09:16:02 +01:00
Mike Hommey
47c853314f
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Chris Pearce
6440005c47
Bug 1071482 - Add more logging to help debug rare intermittent failures. r=edwin
2014-10-30 15:05:49 +13:00
Chris Pearce
4276cea1b0
Bug 1071482 - Break a cycle in TrackBuffer and SourceBufferDecoder's MediaTaskQueue's SharedThreadPool. r=cajbir
2014-10-28 13:21:13 +13:00
Chris Pearce
1699179c49
Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc
2014-10-28 13:21:12 +13:00
Chris Pearce
d54268fb34
Bug 1071482 - Rename test_encryptedMediaExtensions to test_eme_playback to make it easier to run all eme tests with a wildcard. r=edwin
...
--HG--
rename : dom/media/test/test_encryptedMediaExtensions.html => dom/media/test/test_eme_playback.html
2014-10-28 13:21:12 +13:00
Chris Pearce
69e4f7b88d
Bug 1071482 - Factor out EME load/setup code, so it can be reused in other tests more easily. r=edwin
2014-10-28 13:21:11 +13:00
Ralph Giles
a7b213d981
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
Randell Jesup
3002bdad01
Bug 1085356: Fix Mac audio output changes on older/different macs r=padenot
...
Remove any buffered audio from before an output switch is signaled, as well
as handling gaps in callbacks after a switch.
2014-10-29 10:47:28 -04:00
Wes Kocher
bdbe376b8e
Backed out changeset 3629ea724086 (bug 1089159) for android 2.3 build failures
2014-10-29 15:14:19 -07:00
James Willcox
091aa3bcfe
Bug 1089159 - Correctly use MediaCodec's audio output format r=cpearce
...
--HG--
extra : histedit_source : 0f720def526984be46a528090a1b1fe4d15bfc99
2014-10-29 15:46:10 -05:00
Ehsan Akhgari
f453170f6b
Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Ryan VanderMeulen
6eb0341ccc
Backed out changesets 62a8be146b4b, d9a9008a1e93, e6761281d389, and 913e16c2877b (bug 1071482) for causing various intermittent failures.
...
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_encryptedMediaExtensions.html
2014-10-29 12:31:43 -04:00
Gabriel Ivanica
5a40b96b5b
Bug 1089705 - Replace "assert" with "MOZ_ASSERT" in some media code. r=dholbert
2014-10-29 00:43:18 +02:00
JW Wang
efa8d7e342
Bug 1088481 - stop progress timer in MediaDecoder::Shutdown if necessary. r=cpearce
2014-10-27 02:47:00 +01:00
Benjamin Chen
3d934ad792
Bug 1090083 - Enable test_mediarecorder_record_no_timeslice.html on B2G platform. r=jwwang
2014-10-28 16:04:20 +08:00
JW Wang
6eda0adeeb
Bug 1089484 - Have test_reset_src.html test more files to increase test coverage. r=kinetik
2014-10-27 23:34:00 +01:00
Jan-Ivar Bruaroey
1daae93992
Bug 1033885 - tests for mediaDevices.getUserMedia. r=drno
2014-10-27 15:48:37 -04:00
Jan-Ivar Bruaroey
9a214e3d2f
Bug 1033885 - add mediaDevices.getUserMedia with promises. r=bz, r=jesup
2014-09-20 02:20:41 -04:00
Jan-Ivar Bruaroey
54d43d8dad
Bug 1033885 - return MediaStreamError instead of error strings, to spec. r=bz, r=jesup
2014-10-27 15:42:56 -04:00
Jan-Ivar Bruaroey
d7d2397713
Bug 1033885 - add MediaStreamError interface. r=jesup,bz
2014-10-27 12:53:10 -04:00
Jan-Ivar Bruaroey
d3aef91306
Bug 1033885 - rename error to onFailure in code before introducing an actual error object r=jesup
2014-10-17 20:47:46 -04:00
Matt Woodrow
1668f024f7
Bug 1089480 - Assume a start time of 0 for MSE videos. r=cajbir
...
--HG--
extra : rebase_source : fb44192e9f7f97a9ed1d753dd185dc82fdeaaa48
2014-10-29 09:30:36 +13:00
Ryan VanderMeulen
7fc7f1f8a3
Merge b2g-inbound to m-c. a=merge
...
CLOSED TREE
2014-10-28 16:22:39 -04:00
Ryan VanderMeulen
06095a719e
Bug 608634 - Disable test_error_in_video_document.html on OSX and Windows for intermittent failures.
2014-10-28 15:45:52 -04:00