Karl Tomlinson
59ea4cd97e
bug 1092932 detach MediaSource before initiating MDStateMachine shutdown r=bholley
...
to avoid races between the detach process and decoder task queue shutdown.
--HG--
extra : rebase_source : 91761d9594c53a7ccb974caf4931bcac90533e5a
2014-11-04 17:24:52 +13:00
Cgg
4e5f297ea9
Bug 966247 - Make MediaElementAudioSourceNode take the HTMLMediaElement volume into account. r=padenot
...
--HG--
extra : rebase_source : 6ba3d01780be44c4164bd8ed1b69e6171eaa66dd
2014-06-22 14:12:57 +02:00
Peter Van der Beken
192413b6ea
Backout 58e2cab9572e, bad patch.
2014-11-04 12:35:02 +01:00
Peter Van der Beken
7cb694feb9
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
1ac9040f4a
Backed out changeset 221ca54f4df0 (bug 1092096) for m2 test failures
2014-11-04 10:32:32 +01:00
Chris Pearce
2f32bb6e5e
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
893119c56d
Bug 1092096 - Separate MSE prefs for MP4 and WebM; r=cajbir
2014-11-04 15:22:26 +08:00
Vaibhav Agrawal
1ab18000f4
Bug 1083347 - Removing entries from android23.json and annotating manifests. r=gbrown
2014-11-03 12:01:51 -08:00
Bob Owen
466961d8ac
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
4129770618
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
8e2ed5632f
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
8953858191
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
4a2b081603
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
3dc6ad728a
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
2bdbd3c844
Bug 1079695 - Part 3 - fix const-correctness of MediaDecoderStateMachine. r=kinetik
2014-10-30 21:12:00 +01:00
JW Wang
85fc40ca05
Bug 1079695 - Part 2 - remove audio clock wordaround from MediaDecoderStateMachine. r=kinetik.
2014-11-02 18:06:00 +01:00
JW Wang
35c50eef83
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
d993371d68
Bug 1021794 - Fix and re-enable test_played.html. r=cpearce
2014-10-30 20:51:00 +01:00
Ralph Giles
8e136c25aa
Bug 1073805 - Apply ADTS header for Gonk. r=cpearce.
2014-10-30 17:01:00 -07:00
Ralph Giles
afeea734aa
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
6f582b6a71
Bug 1073805 - Apply ADTS header for Android. r=cpearce.
2014-10-30 17:07:00 -07:00
Ralph Giles
8b03e8db1c
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
ab088f172a
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
1cef9c17df
Bug 1092860 - Fix GMPVideoFrameType and GMPSessionType serialization. r=jesup
2014-11-03 13:53:01 +13:00
JW Wang
64bb3100a9
Bug 1091436 - Enable test_chaining.html on B2G. r=cpearce
2014-10-30 06:37:00 +01:00
James Willcox
9fda622507
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
23af38aa7f
Bug 1090900 - Issue SimpleTest.finish() even if test failed. r=padenot
2014-10-30 12:15:58 +11:00
Bobby Holley
3bea4bdef3
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
d667f4bb59
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
0931dee714
Bug 1071482 - Add more logging to help debug rare intermittent failures. r=edwin
2014-10-30 15:05:49 +13:00
Chris Pearce
cbdd05a69e
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
e264dccc4f
Bug 1071482 - Make content encrypted via EME inaccessible from JS APIs. r=roc
2014-10-28 13:21:12 +13:00
Chris Pearce
9557cedfdc
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
fe485d4440
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
4e7efa3c60
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
7df9131295
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
c7977113a2
Backed out changeset 3629ea724086 (bug 1089159) for android 2.3 build failures
2014-10-29 15:14:19 -07:00
James Willcox
915dff8347
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
8b35c7fcdb
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
903b6f89ef
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
28bc1f81d2
Bug 1089705 - Replace "assert" with "MOZ_ASSERT" in some media code. r=dholbert
2014-10-29 00:43:18 +02:00
JW Wang
6848dc22db
Bug 1088481 - stop progress timer in MediaDecoder::Shutdown if necessary. r=cpearce
2014-10-27 02:47:00 +01:00
Benjamin Chen
98111a64b8
Bug 1090083 - Enable test_mediarecorder_record_no_timeslice.html on B2G platform. r=jwwang
2014-10-28 16:04:20 +08:00
JW Wang
d1b437204a
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
6056c0f24e
Bug 1033885 - tests for mediaDevices.getUserMedia. r=drno
2014-10-27 15:48:37 -04:00
Jan-Ivar Bruaroey
e8b5e63e1b
Bug 1033885 - add mediaDevices.getUserMedia with promises. r=bz, r=jesup
2014-09-20 02:20:41 -04:00
Jan-Ivar Bruaroey
e07343e216
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
cef8f02a82
Bug 1033885 - add MediaStreamError interface. r=jesup,bz
2014-10-27 12:53:10 -04:00
Jan-Ivar Bruaroey
efcf2f615b
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
39d8d2f3ae
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