Sotaro Ikeda
33e78dc0da
Bug 884182 - Prevent incorrect state transition. r=doublec
2013-06-25 20:08:58 -04:00
Ehsan Akhgari
0d03849373
Bug 886690 - Make sure that the test case for bug 880202 will pass if Web Audio is disabled
2013-06-25 16:36:14 -04:00
Ryan VanderMeulen
7d936a039a
Backed out 2 changesets (bug 886618, bug 886657) for frequent OSX 10.7 mochitest-1 failures.
...
Backed out changeset 9fd8b2adc693 (bug 886618)
Backed out changeset 376fe12f4de4 (bug 886657)
2013-06-25 15:24:11 -04:00
Robert O'Callahan
3c90eac266
Bug 886618. Play nothing when one or more of the Float32Arrays of an AudioBuffer has been neutered. r=ehsan
...
--HG--
extra : rebase_source : a254d45ed8222b7154a541ecfff63125541abf85
2013-06-26 04:01:07 +12:00
Robert O'Callahan
5afe944cf3
Bug 886657. Don't play anything from an AudioBufferSourceNode until a buffer has been set and start() has been called. r=ehsan
...
--HG--
extra : rebase_source : 48494d925526a8a064b42a59797fef70c61d4276
2013-06-26 04:00:42 +12:00
Phil Ringnalda
8f3424da1c
Back out 0e276ed2d7c3 (bug 884651) for Linux test_streams_element_capture.html timeouts
...
CLOSED TREE
2013-06-24 18:29:34 -07:00
Edwin Flores
bce29e275e
Bug 884651 - Stop gstreamer from trying to sync video and audio for us r=cpearce
2013-06-25 10:41:22 +12:00
Ehsan Akhgari
93c54f4145
Bug 885583 - Enable Web Audio unconditionally across mochitests; r=roc
2013-06-23 19:23:02 -04:00
Ehsan Akhgari
3ec6d57a80
Bug 886165 - Hide the alternate names in the spec behind prefs which are turned off by default; r=roc
...
This patch uses one pref per interface, to allow us finer grain control over
which ones we might need to turn on in the future.
2013-06-23 19:22:10 -04:00
Phil Ringnalda
11fb19e624
Merge birch to m-c
2013-06-22 15:50:24 -07:00
Michael Wu
5da36e7c95
Bug 880502 - Make OggCodecState.cpp build on gonk-JB, r=cpearce
2013-06-21 18:03:05 -04:00
Chris Pearce
8fd57201f5
Bug 861090 - Add pref to disable playback of MPEG files in nsVideoDocument using WMF. r=?padenot
2013-06-21 11:16:55 +12:00
Ethan Hugg
7bf9622aff
Bug 879743 - Fake audio should be sent at the same rate as fake video r=jesup
2013-06-20 10:14:04 -07:00
Ian Gilman
56f672bdff
Bug 838331 - Add MP3 to codec list for Firefox OS. r=doublec
2013-06-20 16:49:35 -04:00
Sotaro Ikeda
2d645addc3
Bug 883744 - add pointer null check r=doublec
2013-06-22 08:58:12 -04:00
Rick Eyre
fb79b77745
Bug 885879 - Make sure cue times are not rounded r=rillian
...
Tests for this will be landing in bug 833386 Part 2.
2013-06-19 14:35:04 -04:00
Caitlin Potter
9fda21c058
Bug 882549 - Don't rely on mElement to find nsIDocument in TextTrackCue. r=rillian, r=smaug
...
Find nsIDocument via mGlobal (as nsPIDOMWindow) rather than via pointer to
HTMLTrackElement. (bz from #content has explained how we can access
nsPIDOMWindow and nsIDocument without having to ask the HTMLTrackElement)
For the time being, there are many null-ness checks for both 'window' and
'document', and no mechanism to report errors other than returning nullptr
where possible. This will be addressed in a followup bug.
Also adds a test for mHead nullness in TextTrackCue::ConvertNodeTreeToDOMTree
to prevent SIGSEV.
2013-06-19 14:02:04 -04:00
Brian R. Bondy
ea37775f5c
Bug 878449 - Fixed mismatched CoInitialize call causing crash in JumpList. r=padenot.
2013-06-20 08:57:46 -04:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Wes Kocher
95577b488c
Merge m-c with inbound
2013-06-19 16:46:01 -07:00
Wes Kocher
7b638627c9
Merge inbound to central
2013-06-19 16:37:58 -07:00
Boris Zbarsky
508d09f9f8
Bug 883827. Make Optional<NonNull<T>> and Optional<OwningNonNull<T>> nicer to use by having their const Value() method return a T&. r=peterv
2013-06-19 14:48:43 -04:00
Rick Eyre
edd716700e
Bug 884507 - Change SECOND_TO_MS macro to be named MS_TO_SECONDS r=rillian
2013-06-18 12:53:00 -07:00
Sotaro Ikeda
713070d92e
Bug 884440 - Remove item correctly from vector. r=doublec
2013-06-19 13:40:31 -04:00
Ehsan Akhgari
556060ee93
Bug 865256 - Part 2: Rename WaveTable to PeriodicWave; r=roc
...
--HG--
rename : content/media/webaudio/WaveTable.cpp => content/media/webaudio/PeriodicWave.cpp
rename : content/media/webaudio/WaveTable.h => content/media/webaudio/PeriodicWave.h
rename : content/media/webaudio/test/test_waveTable.html => content/media/webaudio/test/test_periodicWave.html
rename : dom/webidl/WaveTable.webidl => dom/webidl/PeriodicWave.webidl
2013-06-19 18:24:26 -04:00
John Schoenick
0de227145f
Bug 878363 - Followup, fix compilers complaining about fixing other compilers complaining about an unknown warning. r=ted
2013-06-19 15:08:42 -07:00
Jon Coppeard
c43484e0e2
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Robert O'Callahan
21d8f99f47
Bug 882027. Make MediaDecoder::UpdateReadyStateForData always be responsible for calling GetNextFrameStatus when that value is passed to HTMLMediaElement::UpdateReadyStateForData, but keep calling GetNextFrameStatus on the state machine thread to suppress dispatching of redundant runnables when nothing has changed. r=cpearce
2013-06-17 17:15:32 +12:00
Ehsan Akhgari
8fb777bd42
Bug 883011 - Optimize PrepareUpdatesToMainThread to avoid re-allocating memory as much as possible; r=roc
2013-06-18 23:10:04 -04:00
Ehsan Akhgari
0e800932a4
Bug 884632 - Optimize MediaStreamGraphImpl::PrepareUpdatesToMainThreadState in order to only include AudioNodeStreams that the main thread is interested in; r=roc
2013-06-18 23:09:44 -04:00
Ed Morley
ef197a10fb
Backed out changeset 78424c3ea6cb (bug 883731)
2013-06-19 09:51:05 +01:00
Ed Morley
db5d45d578
Backed out changeset 04d60f86b935 (bug 883731)
2013-06-19 09:51:02 +01:00
Robert O'Callahan
6039bd6c6e
Bug 883731. Part 3: Make all calls to ChangeReadyState go through UpdateReadyStateForDtaData. r=cpearce
...
--HG--
extra : rebase_source : 49e39cedd64bcc52bcda452fb38c2d8f460672a0
2013-06-19 16:05:52 +12:00
Robert O'Callahan
d5dc83574a
Bug 883731. Part 2: Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce
...
--HG--
extra : rebase_source : 8c1657977339c8f97b109c4ec775b7818ed4d57a
2013-06-19 00:17:40 +12:00
Ehsan Akhgari
4b1bb5db35
Backed out changeset 9173dcf026ee (bug 882567) because of mochitest-1 timeouts on Linux
...
Landed on a CLOSED TREE
2013-06-18 23:16:05 -04:00
Ehsan Akhgari
105ea88e90
Backed out 2 changesets (bug 794282) because of mochitest-1 timeouts on Linux
...
Backed out changeset aad877111804 (bug 794282)
Backed out changeset a73bc11da471 (bug 794282)
2013-06-18 23:15:51 -04:00
Edwin Flores
35596b934f
Bug 794282 - Fix desktop b2g compile error from changeset a73bc11da471 r=bustage
2013-06-19 12:29:36 +12:00
Edwin Flores
4cc8004638
Bug 794282 - Enable gstreamer by default in builds, but pref off r=cpearce,khuey
2013-06-19 10:22:30 +12:00
Edwin Flores
3ee68a5ef8
Bug 882567 - Handle fatal gstreamer errors by aborting playback r=alessandro.d
2013-06-19 10:22:29 +12:00
Ehsan Akhgari
db908507fc
Backed out changeset 07708c9fc5ef (bug 883010) because of test failures
...
Landed on a CLOSED TREE
2013-06-17 13:13:08 -04:00
Ehsan Akhgari
88f5678f8a
Bug 883010 - Part 1: Optimize MediaStreamGraphImpl::UpdateStreamOrder in order to optimize away how much time we spend on it in every iteration of the MSG; r=roc
...
--HG--
extra : rebase_source : 4af5f42054407ad42ebe1752e01178d454c865ed
2013-06-17 11:29:47 -04:00
Ehsan Akhgari
aa26098054
Bug 883010 - Part 2: Don't bombard the main thread with MSG update messages which are not going to result in any actual work; r=roc
2013-06-17 09:06:34 -04:00
Josh Matthews
e9baa064b2
Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc
2013-05-21 15:17:47 -04:00
Robert O'Callahan
7f0e8faa0b
Backing out bug 882027
2013-06-16 01:28:34 +12:00
Robert O'Callahan
4ec5ce6398
Bug 880601. Emulate a form of keyframe skipping by allowing MediaOmxReader::DecodeVideoFrame to decode more than one video frame if video decoding is falling behind. r=cpearce
...
If we don't support this in any way, then we get into trouble when there is
plenty of compressed data buffered but for some reason video decoding falls
behind (maybe there was a short period where the video data wasn't available).
Audio playback continues normally, but MediaOmxReader keeps making one call
to ReadAudio and one to ReadVideo, and if each call to ReadAudio decodes at
least as much as the calls to ReadVideo, video decoding can never catch up
to the current audio playback position. So video never plays. And when the
video decoding point gets far enough away from the audio decoding point,
horrible things start to happen, such as video and audio reading completely
different parts of the media cache and interfering with the caching mechanism
(which assumes audio and video reads are close together).
This patch approximates keyframe skipping, and is basically just a way for
MediaOmxReader::DecodeVideoFrame to decode more than one frame at a time
if we need video decoding to catch up.
To prevent pathological situations, we cap both the maximum number of frames
decoded per DecodeVideoFrame and the amount of time we spend in the method
(excluding the time for the last frame).
--HG--
extra : rebase_source : cba95c537fe97df5b696581be8233b6e9cffb70b
2013-06-15 23:51:56 +12:00
Robert O'Callahan
dbd1bda3cd
Bug 882027. Route all calls to GetNextFrameStatus for determining the readyState through MediaDecoder::UpdateReadyStateForData on the main thread. r=cpearce
...
--HG--
extra : rebase_source : 9ea3260f294c633c24e15690fa4bb067af378088
2013-06-15 23:50:44 +12:00
Martijn Wargers
e3e6352d56
Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin
2013-06-15 00:33:47 +02:00
Martijn Wargers
e36a806dd2
Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher
2013-06-15 00:13:44 +02:00
Caitlin Potter
91c08eabb1
Bug 882535 - Set HTMLTrackElement Readiness State during WebVTT Parsing. r=rillian
...
This patch enables "LOADING", "LOADED" and "ERROR" readiness states to be
applied to the Parent HTMLTrackElement, in order to avoid test flakiness,
and to comply with the HTML5 draft
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#text-track-readiness-state .
2013-06-12 22:26:14 -04:00
Shelly Lin
f3b88db9f4
Bug 882956 - Fix WebAudio stack-buffer-overflow crash. r=ehsan.
2013-06-14 15:16:41 +08:00