Ed Morley
7d3ce53582
Backed out changeset ee7d34a58f11 (bug 886173) for mochitest 1 failures in test_playback_rate.html
2013-07-11 15:31:52 +01:00
Paul Adenot
dc50b601e1
Bug 886173 - Preserve playbackRate across pause/play. r=cpearce
2013-06-24 14:05:38 +02:00
Matthew Gregan
b19fc7bf6a
Bug 889201 - Add tests for VideoPlaybackQuality. r=roc
2013-07-11 15:52:22 +12:00
Ryan VanderMeulen
f10b8ebacc
Merge m-c to inbound.
2013-07-10 13:52:12 -04:00
Ryan VanderMeulen
1d7eff0f7a
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Ryan VanderMeulen
5f7f93b294
Merge the last green birch cset to m-c.
2013-07-10 13:49:16 -04:00
Sotaro Ikeda
d87d29abf5
Bug 890394 - Prevent incorrect state transition. r=doublec
2013-07-10 09:58:04 -04:00
Paul Adenot
170455b45b
Bug 888271 - Make test_AudioBufferSourceNodeOffset.html fuzzier.
2013-07-10 15:03:19 +02:00
Trevor Saunders
d82043f811
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Randy Lin
e18446fcd0
Bug 891706 - Crash in mozilla::dom::MediaRecorder::CheckPrincipal() when closing a tab while recording is started. r=roc
2013-07-10 12:52:29 +08:00
Ralph Giles
2ec3570c84
Bug 887463 - remove webvtt parser library. r=cpearce.
2013-07-09 17:02:00 -07:00
Olli Pettay
8540baa4f4
backout Bug 533840, since it added a randomly failing test
...
--HG--
extra : rebase_source : c9f9de9148b5a52bf7013b543035626d959c6e5a
2013-07-09 13:30:38 -04:00
Ehsan Akhgari
656f6a97ae
Bug 891543 - Remove the version of AudioBuffer::GetChannelData that is unused; r=roc
2013-07-09 17:35:05 -04:00
Olli Pettay
10ea9ea186
backout Bug 533840, since it added a randomly failing test
2013-07-09 13:30:18 -04:00
Ryan VanderMeulen
67f3b243c4
Bug 888271 - Increase errorRatio allowance of AudioBufferSourceNode test. r=padenot
2013-07-09 16:01:58 -04:00
Paul Adenot
386a36b37f
Bug 888271 - Don't substract twice by mOffset in AudioBufferSourceNode. r=ehsan
2013-07-09 10:41:54 +02:00
Bastien Scanu
41fd9c02e0
Bug 533840 - Don't start playback when removed from a document and autoplaying. r=padenot,cpearce
2013-06-07 13:46:45 +02:00
Léonard Beck
846998c6b8
Bug 654550 - Add a preference to disable media statistics. r = padenot,jaws
2013-06-11 17:23:13 +02:00
Ehsan Akhgari
17e7067306
Bug 886660 - Fix the leak in FFTBlock::SetFFTSize(); r=roc
2013-06-25 20:37:56 -04:00
Guilherme Gonçalves
a764e011fd
Bug 884407 - Use an enum in SpeechRecognitionError. r=smaug
2013-06-25 20:08:58 -04:00
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
Chris Pearce
c7e314fca4
Bug 881954 - Set the thread limit to the idle limit for WMFByteStream's thread pool. This stops the pool from constantly creating and destroying threads when under load, freeing up virtual address space and reducing our thread count. r=padenot
2013-06-14 09:07:59 +12:00
Chris Pearce
83ae9a38b2
Bug 881954 - Only initialize DXVA when we're decoding video. r=padenot
2013-06-14 09:07:28 +12:00
Chris Pearce
89276c11b2
Bug 881954 - Generalize test_too_many_elements to run on more than just Ogg audio. r=padenot
2013-06-14 09:07:07 +12:00
Ehsan Akhgari
d6628d6d1a
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Ehsan Akhgari
96ea05fa5f
Bug 881558 - Re-introduce try-locking in the reverb implementation; r=roc
2013-06-12 20:57:17 -04:00
Chris Pearce
66d1fa1f4a
Bug 880062 - Make WMF video backend call MediaDecoder::SetMediaSeekable(false) when it can't seek like it's supposed to. r=padenot
2013-06-13 10:15:23 +12:00
Caitlin Potter
eeb2928e9b
Bug 881978 - Make WebVTTLoadListener callbacks private. r=rillian
...
WebVTTLoadListener::OnParsedCue() and WebVTTLoadListener::OnReportError() are
for private use and should not be exposed publicly.
2013-06-11 21:12:39 -04:00
Paul Adenot
b2dd4115f1
Bug 884459 - Do not check mCurrentTaskMessageQueue's emptiness needlessly; r=ehsan
2013-06-21 22:07:39 +02:00
Edwin Flores
0b70f5803f
Bug 885157 - Kill content/media/test/test_too_many_elements.html r=cpearce
2013-06-22 11:16:53 +12:00
Edwin Flores
904526d04a
Bug 794282 - Enable gstreamer by default in builds, but pref off r=cpearce,khuey
2013-06-22 11:16:53 +12:00
Edwin Flores
feec6386f4
Bug 882567 - Handle fatal gstreamer errors by aborting playback r=alessandro.d
2013-06-22 11:16:53 +12:00
Rick Eyre
66519947cb
Bug 833386 - Tests for HTMLTrackElement and TextTrack* DOM objects r=rillian,cpearce
...
This patch is primarily the work of Marcus Saad (msaad) and Jordan
Raffoul (jbraffoul) at Seneca College.
2013-06-20 06:55:00 -07:00
David Zbarsky
7c1e9e4d0f
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
Ryan VanderMeulen
451cdd58c6
Merge m-c to inbound.
2013-07-07 20:21:33 -04:00
Sotaro Ikeda
bcdff6ddb3
Bug 889238 - Add error handling to OMXCodecProxy. r=doublec
2013-07-07 16:33:57 -04:00
Sotaro Ikeda
7eb627a7fa
Bug 889233 - Fix transition from dormant to other state. r=doublec
2013-07-07 16:33:57 -04:00
Sotaro Ikeda
4fb77bcb31
Bug 887968 - Cast to PlanarYCbCrImage only when image format is PLANAR_YCBCR. r=roc
2013-07-07 16:33:56 -04:00
Rick Eyre
324b1a63c1
Bug 880094 - Provide a stable state for HTMLTrackElement asynchronous functions. r=cpearce
...
- Removed HTMLMediaElement::AsyncAwaitStableState and exposed a new method,
HTMLMediaElement::RunInStableState, that allows any nsIRunnable to run on
the app shell and take advantage of IsCancelled() code in an nsMediaEvent.
- HTMLTrackElement now uses this to call HTMLTrackElement::LoadResource.
- Changed test_texttrackcue.html to listen for MediaElement's "loadedmetadata"
to ensure that we wait until the cues are loaded before testing and set
preload=auto to get it to pass on Android.
2013-06-27 21:05:03 -04:00
Randy Lin
fcd0ce74f3
Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc
2013-07-05 09:50:25 +08:00
Randy Lin
9a7b93451a
Bug 803414 - Part 3: Add EncodedBufferCache. r=roc
2013-07-02 11:00:53 +08:00
Phil Ringnalda
91b0bf61c4
Backed out changeset 5ea64b6ba89b (bug 889201) for too-frequent failures
2013-07-05 14:24:50 -07:00
Ehsan Akhgari
81c77fdc86
Bug 890543 - Make AudioBuffer not inherit from nsISupports; r=mccr8
2013-07-05 16:21:52 -04:00
Suhas Nandakumar
d1d00ad556
Bug 886891: Don't show recording indicator when using fake sources r=jesup
2013-07-04 22:53:10 -07:00
Robert O'Callahan
2664e02723
Bug 890248. Avoid situations where adding a new input to an AudioNode can race with a message telling the AudioNode to release its mPlayingRef. r=ehsan
...
--HG--
extra : rebase_source : 913683cc16a717bf73f9976292af965aba6b7758
2013-07-05 13:49:53 +12:00
Matthew Gregan
2b4050c81d
Bug 889201 - Add tests for VideoPlaybackQuality. r=roc
2013-07-05 12:24:55 +12:00
Rick Eyre
41e11bfdcb
Bug 882714 - Implement TextTrackCue::DisplayState r=rillian
...
- Renamed mCueDiv to mDisplayState to match spec.
- Introduced mReset which is set whenever TextTrackCue changes in
a way that will mean we have to rebuild the computed cuetext of the
TextTrackCue.
2013-07-04 23:24:43 +02:00
Robert O'Callahan
c0d6761000
Bug 886618. Part 4: Test. r=ehsan
2013-07-05 09:19:54 +12:00
Ehsan Akhgari
236d8f6730
Bug 890072 - Part 2: Keep the ConvolverNode alive while its reverb buffers are being exhausted; r=roc
2013-07-03 21:38:31 -04:00
Ehsan Akhgari
5cb9cb8f95
Bug 890072 - Part 1: Factor out PlayingRefChanged from DelayNodeEngine; r=roc
2013-07-03 21:37:39 -04:00
Srinath N
6887660f47
Bug 848344 - Clear media cache along with network cache when storage policy is set to STORE_ANYWHERE. r=michal
2013-06-18 01:44:00 -04:00
Ehsan Akhgari
ed0b5cc1b2
Bug 889016 - Part 2: Report an error in the synchronous AudioContext.createBuffer unless the legacy pref has been set; r=roc
2013-07-04 09:25:12 -04:00
Ehsan Akhgari
3e21182565
Bug 890023 - Set the output channel count for ConvolverNode to 2 unconditionally; r=roc
2013-07-04 09:22:22 -04:00
Ehsan Akhgari
ea5e9da9f9
Backed out 2 changesets (bug 890072) for possible leaks
...
Backed out changeset 5e815a5ca50d (bug 890072)
Backed out changeset 7151ab8ff70c (bug 890072)
2013-07-03 22:17:25 -04:00
Ehsan Akhgari
54d144cdcf
Bug 890072 - Part 2: Keep the ConvolverNode alive while its reverb buffers are being exhausted; r=roc
2013-07-03 21:38:31 -04:00
Ehsan Akhgari
bc716e907a
Bug 890072 - Part 1: Factor out PlayingRefChanged from DelayNodeEngine; r=roc
2013-07-03 21:37:39 -04:00
Drew Willcoxon
086255d6ab
Bug 879111 - Mute Web Audio when allowMedia is false on the docshell. r=ehsan
2013-07-03 17:44:32 -07:00
Ehsan Akhgari
0da978691e
Backed out 2 changesets (bug 890072) because gcc sucks
...
Backed out changeset ff011e5b3655 (bug 890072)
Backed out changeset 0ed650741dc5 (bug 890072)
2013-07-03 20:36:06 -04:00
Ehsan Akhgari
97da2b6baa
Bug 890072 - Part 2: Keep the ConvolverNode alive while its reverb buffers are being exhausted; r=roc
2013-07-03 20:20:57 -04:00
Ehsan Akhgari
f9030f5b71
Bug 890072 - Part 1: Factor out PlayingRefChanged from DelayNodeEngine; r=roc
2013-07-03 20:20:06 -04:00
Mike Shal
2f5d43999f
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Masatoshi Kimura
16ea5c4d5c
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Matthew Gregan
7ea647a0e6
Bug 855130 - Add initial tests for Media Source Extensions. r=roc
2013-06-21 15:16:14 +12:00
Matthew Gregan
16d93ca314
Bug 855130 - Implement URL::createObjectURL overload for
...
MediaSources. Add MediaSources to HostObjectProtocolHandler. Make
MediaSource a real interface. r=khuey
2013-06-21 15:15:15 +12:00
Matthew Gregan
13e5c08e6c
Bug 855130 - Implement a minimal working subset of the Media Source
...
Extensions specification. r=roc
2013-06-21 15:14:42 +12:00
Matthew Gregan
deb8ac1d03
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
...
Media Source Extensions specification). r=roc
2013-06-21 15:14:18 +12:00
Trevor Saunders
ea8461a6ca
bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel
2013-06-16 03:09:07 -04:00
Ehsan Akhgari
1a8aa6c1f4
Bug 889042 - Null check the argument to ConvolverNode::SetBuffer; r=padenot
...
--HG--
extra : rebase_source : e69ed91550603d4477b0b6084e05af971a0b050c
2013-07-02 14:15:32 -04:00
Ryan VanderMeulen
6c23f16416
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
01a103a919
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
Phil Ringnalda
223d1262f5
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
6f99bbbdaa
Bug 855130 - Add initial tests for MediaSource Extensions implementation. r=roc
...
---
content/media/mediasource/moz.build | 4 ++
content/media/mediasource/test/Makefile.in | 18 +++++
content/media/mediasource/test/moz.build | 4 ++
content/media/mediasource/test/seek.webm | Bin 0 -> 215529 bytes
.../media/mediasource/test/test_MediaSource.html | 79 +++++++++++++++++++++
5 files changed, 105 insertions(+)
create mode 100644 content/media/mediasource/test/Makefile.in
create mode 100644 content/media/mediasource/test/moz.build
create mode 100644 content/media/mediasource/test/seek.webm
create mode 100644 content/media/mediasource/test/test_MediaSource.html
2013-07-02 15:46:49 +12:00
Matthew Gregan
4590b89783
Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
...
---
content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
content/base/src/nsHostObjectProtocolHandler.cpp | 65 +++++++++++++++++------
content/base/src/nsHostObjectURI.h | 5 +-
content/media/mediasource/MediaSource.cpp | 1 +
content/media/mediasource/MediaSource.h | 7 +++
dom/base/URL.cpp | 12 +++++
dom/base/URL.h | 7 +++
dom/webidl/URL.webidl | 6 +++
layout/build/nsLayoutModule.cpp | 4 ++
9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Matthew Gregan
e960f249c0
Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
...
---
content/media/mediasource/AsyncEventRunner.h | 35 ++
content/media/mediasource/Makefile.in | 18 +
content/media/mediasource/MediaSource.cpp | 395 +++++++++++++++++++++
content/media/mediasource/MediaSource.h | 127 +++++++
.../media/mediasource/MediaSourceInputAdapter.cpp | 176 +++++++++
.../media/mediasource/MediaSourceInputAdapter.h | 43 +++
content/media/mediasource/SourceBuffer.cpp | 249 +++++++++++++
content/media/mediasource/SourceBuffer.h | 115 ++++++
content/media/mediasource/SourceBufferList.cpp | 143 ++++++++
content/media/mediasource/SourceBufferList.h | 79 +++++
content/media/mediasource/moz.build | 24 ++
content/media/moz.build | 2 +
dom/bindings/Bindings.conf | 13 +
dom/dom-config.mk | 1 +
dom/webidl/MediaSource.webidl | 38 ++
dom/webidl/SourceBuffer.webidl | 44 +++
dom/webidl/SourceBufferList.webidl | 17 +
dom/webidl/WebIDL.mk | 3 +
layout/build/Makefile.in | 4 +
modules/libpref/src/init/all.js | 3 +
20 files changed, 1529 insertions(+)
create mode 100644 content/media/mediasource/AsyncEventRunner.h
create mode 100644 content/media/mediasource/Makefile.in
create mode 100644 content/media/mediasource/MediaSource.cpp
create mode 100644 content/media/mediasource/MediaSource.h
create mode 100644 content/media/mediasource/MediaSourceInputAdapter.cpp
create mode 100644 content/media/mediasource/MediaSourceInputAdapter.h
create mode 100644 content/media/mediasource/SourceBuffer.cpp
create mode 100644 content/media/mediasource/SourceBuffer.h
create mode 100644 content/media/mediasource/SourceBufferList.cpp
create mode 100644 content/media/mediasource/SourceBufferList.h
create mode 100644 content/media/mediasource/moz.build
create mode 100644 dom/webidl/MediaSource.webidl
create mode 100644 dom/webidl/SourceBuffer.webidl
create mode 100644 dom/webidl/SourceBufferList.webidl
2013-07-02 15:46:48 +12:00
Matthew Gregan
dd3855fa0e
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
...
---
content/html/content/public/HTMLVideoElement.h | 4 ++
content/html/content/src/HTMLVideoElement.cpp | 27 ++++++++++
content/media/MediaDecoder.h | 17 +++++++
content/media/MediaDecoderStateMachine.cpp | 6 ++-
content/media/VideoPlaybackQuality.cpp | 53 ++++++++++++++++++++
content/media/VideoPlaybackQuality.h | 68 ++++++++++++++++++++++++++
content/media/moz.build | 2 +
dom/base/moz.build | 2 +
dom/bindings/Bindings.conf | 4 ++
dom/webidl/HTMLVideoElement.webidl | 6 +++
dom/webidl/VideoPlaybackQuality.webidl | 20 ++++++++
dom/webidl/WebIDL.mk | 1 +
12 files changed, 209 insertions(+), 1 deletion(-)
create mode 100644 content/media/VideoPlaybackQuality.cpp
create mode 100644 content/media/VideoPlaybackQuality.h
create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Dale Harvey
d20caf640f
Bug 885371 - Don't create VideoDocument for formats that dont play in content. r=smaug
2013-07-01 09:30:48 -04:00
Marco Chen
8033c82e72
Bug 872462 - OmxDecoder::Pause/Start didn't follow AOSP's definition. r=doublec
2013-07-01 12:02:03 +08:00
Robert O'Callahan
28e97a2f28
Bug 886618. Part 2: Simplify OOM handling when stealing array buffer data. r=ehsan
...
--HG--
extra : rebase_source : 1343b39cdf4e65af99219da47e778f86d8a38b04
2013-06-30 00:30:35 +12:00
Robert O'Callahan
50a25e718e
Bug 886618. Part 3: Handle null data in ConvolverNode. r=ehsan
...
--HG--
extra : rebase_source : 64e9c67937db1bea84bc3445d1e774782b5de419
2013-06-29 17:32:18 +12:00
Robert O'Callahan
92695d22a2
Bug 886618. Play nothing when one or more of the Float32Arrays of an AudioBuffer has been neutered. r=ehsan
...
--HG--
extra : rebase_source : 6778a5416142e247aa91ec29bbc50b049ecd6d90
2013-06-26 04:01:07 +12:00
Phil Ringnalda
58ff17f803
Bug 888557 - skip content/media/test/crashtests/459439-1.html on b2g, where it times out refusing to unload
2013-06-28 19:14:40 -07:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Shal
e1afc9dbd7
Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey
2013-06-26 14:51:06 -04:00
Robert O'Callahan
813aa6a822
Bug 886618. Remove dead AudioBuffer code. r=ehsan
...
--HG--
extra : rebase_source : fcd30cacfbcd1a43f62e0c0ce7df2dd57c307366
2013-06-29 01:49:56 +12:00
Chris Pearce
be8d5bf601
Bug 888174 - Add this pointer to WMFByteStream NSPR logging so that we can distinguish which instance is doing what easier. r=padenot
2013-06-28 22:10:01 +12:00
Chris Pearce
62a32200f0
Bug 888175 - Don't log dropped frames in MediaDecoderStateMachine if MOZ_QUIET is set. r=padenot
2013-06-28 22:09:37 +12:00
Robert O'Callahan
e1d426516d
Bug 886657. Don't play anything from an AudioBufferSourceNode until a buffer has been set and start() has been called. r=ehsan
2013-06-26 04:00:42 +12:00
Matthew Gregan
09a800bfde
Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE
2013-06-28 16:55:35 +12:00
Matthew Gregan
b5544d899d
Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
2013-06-28 16:32:05 +12:00
Matthew Gregan
015e1dc50a
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
2013-06-28 16:32:05 +12:00
Rick Eyre
a78b6401ba
Bug 833386 - Tests for TextTrackCue objects r=rillian,cpearce
...
This patch is primarily the work of Marcus Saad (msaad) and Jordan
Raffoul (jbraffoul) at Seneca College.
2013-06-24 19:23:00 -07:00
Ehsan Akhgari
4e4cb968f6
Bug 881775 - Set the correct channel count in DownmixAndInterleave, and avoid unnecessary downmixing; r=roc
2013-06-11 17:50:21 -04:00
Caitlin Potter
f5b7023a3b
Bug 881475 - Drop cues with malformed timestamps. r=rillian
...
The parsing specification requires the UA to drop
cues containing malformed cue-times.
(http://dev.w3.org/html5/webvtt/#dfn-collect-a-webvtt-timestamp )
The OnReportError callback has been modified to notify the parser
that we need need to drop such cues which are deemed 'malformed'
according to the timestamp parsing rules.
2013-06-10 21:10:30 -04:00
Ryan VanderMeulen
774115510a
Merge m-c to inbound.
2013-06-11 21:03:14 -04:00
Ralph Giles
e55831544d
Bug 879924 - Don't shorten zero-length strings. r=derf
...
We were trying to strip the optional null terminator
even when we knew there wasn't one there.
2013-06-10 17:10:09 -07:00
Shelly Lin
2eeb681648
Bug 842243 - Part 5: Add MediaEncoder.h/.cpp; The main part of this media encoding framework. r=roc
2013-06-05 14:29:12 +08:00
Shelly Lin
b0ad578f08
Bug 842243 - Part 4: Add OpusEncoder.h/.cpp; Implementation of Opus encoder. r=roc, r=tterribe
2013-05-17 19:18:08 +08:00
Shelly Lin
05dcf724ca
Bug 842243 - Part 3: Add TrackEncoder.h/.cpp; Base class for audio/video track encoder. r=roc
2013-05-17 19:16:36 +08:00
Shelly Lin
370c645a9f
Bug 842243 - Part 2: Add OggWriter.h/.cpp; Implementation of Ogg container. r=roc, r=tterribe
2013-05-17 19:13:01 +08:00
Shelly Lin
4d942eeee0
Bug 842243 - Part 1: Add ContainerWriter.h; Base class of media container writer. r=roc
2013-05-17 18:50:58 +08:00