Commit Graph

2579 Commits

Author SHA1 Message Date
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Paul Adenot
98dbec53b6 Bug 886653 - Don't call speex_resampler_skip_zeros when changing the rate in AudioBufferSourceNode. r=ehsan 2013-07-12 17:21:51 +02:00
Alexandros Chronopoulos
d94217b0c1 Bug 790559 - Part 2: Correct test_framebuffer.html mochitest to expect two channels. r=rillian 2013-06-21 00:31:22 +03:00
Alexandros Chronopoulos
6f1a537f65 Bug 790559 - Part 1: Apply DownmixToStereo function when decode multichannel Opus and Vorbis. r=rillian 2013-04-24 20:29:44 +03:00
Thomas Zimmermann
b0f7962d2b Bug 831224: Parse MP3 frame headers in OmxDecoder, r=padenot
On FirefoxOS, the Android libraries estimate the duration of MP3 streams
by examining the first MP3 frame header. This only works for streams with
constant bit rate. For streams with variable bit rate, a too short or too
long duration is computed.

This patch adds support for parsing MP3 frame headers. The decoder handles
file streams by reading them at once at the beginning and parsing them
immediately. Network streams are updated when a new fragment arrives.
2013-01-24 13:38:32 +01:00
Thomas Zimmermann
92f7e9a735 Bug 831224: Allow update of the media duration, r=padenot
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
0668f3f25a Bug 831224: Added MP3 frame parser, r=padenot
MP3 streams consist of small frames, with each frame containing the
audio data of a few hundred milliseconds. The actual duration of the
encoded audio can among frames.

Each frame consists of a 4-byte frame header, some optional extra
information, and the audio data. The MP3 frame parser walks over the
content of an MP3 stream, computes the duration of each frame from
the frame header, and sums them up to the streams complete duration.

The MP3 frame parser does not decode the actual audio data.
2013-05-03 09:44:02 +02:00
Thomas Zimmermann
ac57b335d6 Bug 831224: Remove trailing whitespaces, r=padenot 2013-01-24 13:38:32 +01:00
Randy Lin
1c783813e8 Bug 900419 - Media Recording - MediaRecorder's state is wrong when stopping media stream during recording. r=roc 2013-08-01 18:38:57 +08:00
Randy Lin
2f37b2b995 Bug 898952 - Media Recording - Avoid to record a stopped MediaStream. r=roc 2013-08-07 14:20:42 +08:00
Randy Lin
a98d95a71e Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith 2013-07-26 10:47:56 +08:00
Randy Lin
0c9259562d Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc 2013-07-26 20:29:41 +08:00
JW Wang
f8cc6d745c Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc 2013-07-23 11:54:32 +08:00
JW Wang
960dbbbdfb Bug 882171 - Part 2: Call NEON implementation. r=ehsan 2013-08-07 11:37:01 +08:00
JW Wang
1b12025f86 Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf 2013-08-07 11:39:47 +08:00
Ed Morley
508ca29acf Backed out changeset 303ba353d785 (bug 831224) for turning bug 897108 permaorange 2013-08-08 10:00:26 -07:00
Ed Morley
925b2378c2 Backed out changeset 3cfe2793f157 (bug 831224) 2013-08-08 09:59:52 -07:00
Ed Morley
77fbd30f54 Backed out changeset 43953e9233a2 (bug 831224) 2013-08-08 09:59:49 -07:00
Ed Morley
2ac38e590a Backed out changeset e334b3139e2a (bug 831224) 2013-08-08 09:59:45 -07:00
Ed Morley
7d5f2c1626 Backed out changeset 909cddbd5af9 (bug 831224) 2013-08-08 09:59:42 -07:00
Ed Morley
da742ab0b7 Backed out changeset 374a8aab2b49 (bug 831224) 2013-08-08 09:59:39 -07:00
Thomas Zimmermann
2c218ee46a Bug 831224: List vbr.mp3 in Makefile.in, r=padenot
The MP3 file for testing variable-bitrate MP3's was not listed
in the Makefile; and thus missing from the installation. The
respective Mochitest always failed.
2013-08-08 17:12:32 +02:00
Carsten "Tomcat" Book
6a0617152c merge mozilla-central to b2g-inbound 2013-08-08 14:46:05 +02:00
Thomas Zimmermann
c34d3f3cfd Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.

--HG--
extra : rebase_source : f62cf69a631a276c4e6e96e827ab615367cad877
2013-08-07 18:54:04 +02:00
Thomas Zimmermann
df06d19b33 Bug 831224: Use multi-threaded I/O for reading and processing MP3 frames, r=padenot
Reading large MP3 files from a slow medium, such as an SD card, takes
several seconds. This is too long for interactive applications like the
music app.

With this patch, the OmxDecoder reads large MP3 file in smaller chunks
and hands over each chunk individually to the MP3 parser. Reading the
file is done in the I/O thread, which is allowed to block, parsing is
done on the main thread.

The current chunk size is 8 MiB, which is small enough to not cause any
delay.

--HG--
extra : rebase_source : 4effb86db481c405a97760cd98f4218dde42104d
2013-05-06 20:07:29 +02:00
Thomas Zimmermann
04820e6a7e Bug 831224: Parse MP3 frame headers in OmxDecoder, r=padenot
On FirefoxOS, the Android libraries estimate the duration of MP3 streams
by examining the first MP3 frame header. This only works for streams with
constant bit rate. For streams with variable bit rate, a too short or too
long duration is computed.

This patch adds support for parsing MP3 frame headers. The decoder handles
file streams by reading them at once at the beginning and parsing them
immediately. Network streams are updated when a new fragment arrives.

--HG--
extra : rebase_source : bffb9447a5fdba4145e83f5aeb3c2accfb7872d6
2013-01-24 13:38:32 +01:00
Thomas Zimmermann
e02e53b720 Bug 831224: Allow update of the media duration, r=padenot
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.

--HG--
extra : rebase_source : f417b968e81d9c9a1aff8ae3174079a297eb371b
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
c04f3c5b22 Bug 831224: Added MP3 frame parser, r=padenot
MP3 streams consist of small frames, with each frame containing the
audio data of a few hundred milliseconds. The actual duration of the
encoded audio can among frames.

Each frame consists of a 4-byte frame header, some optional extra
information, and the audio data. The MP3 frame parser walks over the
content of an MP3 stream, computes the duration of each frame from
the frame header, and sums them up to the streams complete duration.

The MP3 frame parser does not decode the actual audio data.

--HG--
extra : rebase_source : 1b101d8f9bf73e62672933d0f5d20253d7b25491
2013-05-03 09:44:02 +02:00
Thomas Zimmermann
7f07d96ef5 Bug 831224: Remove trailing whitespaces, r=padenot
--HG--
extra : rebase_source : e04ddb59ab953550d988924670c96b73bf7909f2
2013-01-24 13:38:32 +01:00
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
Shelly Lin
effe13c520 Bug 842243 - Part 0: Modify MediaSegment and AudioSegment for use by MediaEncoder. r=roc 2013-06-03 17:59:50 +08:00
Edwin Flores
faab496014 Bug 876305 - Pass the media mimetype on to the gstreamer backend r=alessandro.d 2013-06-11 14:13:10 +12:00
Edwin Flores
d80f358b17 Bug 876305 - Cap the max number of audio buffers gstreamer can use r=alessandro.d 2013-06-11 14:13:10 +12:00
Edwin Flores
d5dcc82182 Bug 874305 - Support older versions of gstreamer r=alessandro.d 2013-06-11 14:13:09 +12:00
Edwin Flores
f0c607f18b Bug 879995 - Fix assertion failure in gstreamer backend with fragmented mp4 videos r=alessandro.d 2013-06-11 14:13:09 +12:00
Edwin Flores
f0948b7184 Bug 859199 - Load GStreamer libraries at runtime r=doublec 2013-06-11 14:13:09 +12:00
Edwin Flores
56de35440d Bug 878363 - Silence pragma warnings from gstreamer libraries r=ted 2013-06-11 14:13:09 +12:00
Chris Pearce
b1ded03eee Bug 880006 - Make WMF video backend call MediaDecoder::NotifyBytesConsumed() like it's supposed to. r=padenot 2013-06-11 12:53:26 +12:00
Ehsan Akhgari
579a771ace Bug 815643 - Part 9: Port Blink's LayoutTest for ConvolverNode to mochitest-plain; r=roc
--HG--
extra : rebase_source : b829991957f0349a6c2541fcc99d4214e701a2ae
2013-06-10 16:10:07 -04:00
Ehsan Akhgari
e2c81dbce5 Bug 815643 - Part 8: Import convolution tests from Blink; r=roc
Imported from Blink SVN revision 150518

--HG--
extra : rebase_source : c50aeed5d0fceaa9112cd9e791ec7acd9904fd84
2013-06-10 16:09:53 -04:00
Ehsan Akhgari
8a97dc2304 Bug 815643 - Part 7: Add a basic API test for ConvolverNode; r=roc
--HG--
extra : rebase_source : be90de45e240fec45875a65235104d2d92716a14
2013-06-10 16:09:38 -04:00
Ehsan Akhgari
2e533bea4f Bug 815643 - Part 6: Optimize FFTBlock to avoid recreating kiss_fftr_cfg objects all the time; r=roc
Setting up the FFT tables turns out to be quite expensive because of the
large number of calls to sin() and cos().

In the future we may want to look into having a global cache of FFT
tables per size, in order to pay the cost of setting each one of them up
only once.

--HG--
extra : rebase_source : 871d11e7f74db9e3e6c704da9518d40cba3deb8a
2013-06-10 16:09:25 -04:00
Ehsan Akhgari
3af23c62eb Bug 815643 - Part 5: Implement ConvolverNode's processing based on the Blink implementation; r=roc
--HG--
extra : rebase_source : 4c1a8dbaa4ab2d4fcc67c0a5226a6937e0656404
2013-06-10 16:09:12 -04:00
Ehsan Akhgari
2ef673d28b Bug 815643 - Part 4: Add the Convolution processing implementation to the build system; r=roc
--HG--
extra : rebase_source : 2a5aa609334c67bb9b09090d9f681c5c3a940c5c
2013-06-10 16:09:01 -04:00
Ehsan Akhgari
0bdb88b1cd Bug 815643 - Part 3: Import the Convolution processing implementation from Blink; r=roc
The original code was copied from Blink SVN revision 150518.

--HG--
extra : rebase_source : 1fbc3cc7f7325bdd8806d7ef30a5c882b505debf
2013-06-10 16:08:38 -04:00
Ehsan Akhgari
82519eedaf Bug 815643 - Part 2: Refactor our Web Audio FFT code into the FFTBlock class; r=roc
This is useful in order for us to be able to borrow code from Blink with
fewer changes, and also to explore faster platform dependent FFT
implementations in the future if needed.

--HG--
extra : rebase_source : 34bbded736e1b385754756513c59ee27ce7552a5
2013-06-10 16:08:21 -04:00
Ehsan Akhgari
bcac308338 Bug 815643 - Part 1: Implement the DOM bindings for ConvolverNode; r=roc
--HG--
extra : rebase_source : 9f6853dcaeeac1f36aa8c2ee90991a7f0ea0b145
2013-06-10 16:07:55 -04:00
Rick Eyre
3800bbb044 Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
  anonymous content which will be displayed on the video div
  overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Paul Adenot
2083c10f3c Bug 865244 - Test for AudioContext.destination.maxChannelCount. r=ehsan 2013-06-10 19:32:28 +02:00
Paul Adenot
3aa35d131a Bug 865244 - Implement AudioContext.destination.maxChannelCount. r=ehsan 2013-06-10 19:32:28 +02:00
Paul Adenot
9a67a917d3 Bug 865244 - Expose the maximum channel count in the AudioStream. r=kinetik 2013-06-10 19:32:28 +02:00
Mike Habicher
076c424da2 Bug 879478 - fix regressions when starting camera (crash and de-virtualized functions -- see also bug 880780), r=roc 2013-06-10 15:01:19 -04:00
Sotaro Ikeda
2d8e4dae08 Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Ivaylo Dimitrov
b0a54a77e9 Bug 880029 - gstreamer - high CPU usage after patch for Bug 856562 landed. r=alessandro.d 2013-06-08 20:53:10 +01:00
Sankha Narayan Guria
5304247273 Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan 2013-06-08 00:55:04 +05:30
Paul Adenot
caac06e896 Bug 878875 - Port Blink's LayoutTest for PannerNode to mochitest-plain. r=ehsan 2013-06-07 20:06:40 +02:00
Paul Adenot
bc2c171823 Bug 878875 - Import PannerNode tests from Blink. r=ehsan
Imported from Blink SVN revision 152035
2013-06-07 20:06:40 +02:00
Ehsan Akhgari
8091b1b4c4 Test case for bug 880724 2013-06-07 13:22:40 -04:00
Ehsan Akhgari
b13e34feff Test case for bug 880404 2013-06-07 11:29:25 -04:00
Ehsan Akhgari
eb90bf2f7c Test case for bug 880384
--HG--
extra : rebase_source : a77b7f0c32555d645c1903164e0a7740ac61ca19
2013-06-07 11:22:46 -04:00
Ehsan Akhgari
dc9043fd73 Test case for bug 880342 2013-06-07 11:14:51 -04:00
Ehsan Akhgari
8bbf87ddc1 Bug 880129 - Correctly handle AnalyserNodes with a buffer size smaller than 128; r=roc 2013-06-07 07:33:00 -04:00
Robert O'Callahan
01715cd051 Fix build bustage for bug 877461 2013-06-07 20:16:17 +12:00
Robert O'Callahan
b0229d01bd Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Robert O'Callahan
a1197b8439 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro
--HG--
extra : rebase_source : 2ccd8afaca1e4055eb0105f25754176b0ff37034
2013-06-06 11:43:43 +12:00
Robert O'Callahan
d504ec5593 Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec
--HG--
extra : rebase_source : d447561e74bc760c2ccbcba925e54579e3a15088
2013-06-06 10:48:25 +12:00
Ryan VanderMeulen
89d1f3bafd Bug 880202 - Skip crashtest on B2G due to failures. 2013-06-06 14:29:52 -04:00
Ehsan Akhgari
c84faabff3 Bug 880202 - Revert bug 878765 because it introduces a buffer overflow 2013-06-06 12:36:57 -04:00
Vladimir Vukicevic
ef8707b5f0 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Paul Adenot
811b43d168 Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-04 15:51:23 +02:00
Paul Adenot
a722f3f571 Bug 877527. 2013-06-04 15:07:01 +02:00
Bobby Holley
6c466f082b Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Robert O'Callahan
ff3ea36e2a Fix bustage on a CLOSED TREE for bug 877461 2013-06-05 14:44:20 +12:00
Robert O'Callahan
30f34f761f Bug 877461. Make MediaCache aggressively cache data just behind the current playback position. r=cpearce
This should help with the straight playback, non-seeking case where we get into
trouble because libstagefright video and audio codecs are reading from different
places.
2013-06-05 01:52:57 +12:00
Robert O'Callahan
e215cdda66 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Ehsan Akhgari
35e12a7680 Bug 879014 - Part 2: Implement the alternate enum values for BiquadFilterNode; r=roc 2013-06-03 19:23:06 -04:00
Ehsan Akhgari
5e015adfe7 Bug 879014 - Part 1: Implement the alternate enum values for PannerNode; r=roc 2013-06-03 19:22:48 -04:00
Ryan VanderMeulen
1d305285a2 Merge m-c to inbound. 2013-06-03 17:51:25 -04:00
Ryan VanderMeulen
f1444e2e1e Backed out 3 changesets (bug 877527, bug 878765) for mochitest-1 timeouts on a CLOSED TREE.
Backed out changeset 0bf1e71fe3cc (bug 877527)
Backed out changeset 8473deb5fba9 (bug 878765)
Backed out changeset 0d327854300c (bug 877527)
2013-06-03 15:01:20 -04:00
John Schoenick
65ad831c07 Bug 878363 - Disable -Wreserved-user-defined-literal for problematic gstreamer header. r=ted 2013-06-03 11:10:28 -07:00
Sotaro Ikeda
c6a6b2489d Bug 874325 - Add lock to MediaStreamSource::readAt(). r=doublec 2013-06-03 10:41:54 -04:00
Paul Adenot
41136eb152 Bug 877527. Forgot to hg add. 2013-06-03 19:15:41 +02:00
Paul Adenot
6267e3c302 Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-03 15:48:58 +02:00
Paul Adenot
67b46436b5 Bug 877527 2013-06-03 19:13:23 +02:00
Ehsan Akhgari
ea2e6fd726 Bug 878478 - Disable looping of AudioBufferSourceNode when we detect that the loopStart offset is not less than the loopEnd offset; r=roc 2013-06-02 09:26:26 -04:00
Ehsan Akhgari
0c888a8966 Bug 878328 - Sanitize the time argument of AudioParam.setValueCurveAtTime; r=roc 2013-06-02 09:26:06 -04:00
Ehsan Akhgari
acafe11ae1 Bug 878407 - Allocate a large enough delay buffer when the delay time fraction value is less than 0.5; r=roc 2013-06-02 09:25:46 -04:00
Ehsan Akhgari
132f3d5aa5 Bug 878497 - Add a test case for AudioParam.setValueAtTime; r=roc 2013-06-02 09:25:16 -04:00
Ehsan Akhgari
8524249b5c Bug 878014 - Use double precision when sampling the delay AudioParam; r=roc 2013-06-01 03:02:46 -04:00
Ryan VanderMeulen
604c2d3d5d Merge m-c to inbound. 2013-05-31 11:30:38 -04:00
Andreas Gal
515187be5b Bug 876099 - re-enable 3gp support in web content r=roc, a=gal 2013-05-30 10:52:58 -07:00
Arnaud Sourioux
1aded9ba34 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Robert O'Callahan
64eba24b0f Bug 868405. Support 'enabled' attribute on MediaStreamTrack. r=jesup
--HG--
extra : rebase_source : ec29ae2e45979baaf1b6a085549755ba86cadd40
2013-05-30 16:44:43 +12:00
Robert O'Callahan
7c57003152 Bug 868405. Part 1: Add a few MOZ_OVERRIDES. r=jesup
--HG--
extra : rebase_source : 9fce360b62677439a353b2fb81d9bab92b659d13
2013-05-30 16:44:40 +12:00
Kyle Huey
fb465d209c Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Ehsan Akhgari
45304eafc7 Crashtest for bug 868504 2013-05-30 20:59:09 -04:00
Ehsan Akhgari
81dc335548 Bug 877820 - Improve the argument checking for OfflineAudioContext's sampleRate argument; r=roc 2013-05-30 20:54:07 -04:00
Ehsan Akhgari
cfd4629d99 Bug 876273 - Only attempt to delete the media graph when the last stream goes away if we're waiting for all streams to be destroyed; r=roc 2013-05-30 20:53:51 -04:00
Ehsan Akhgari
76553f250a Bug 876024 - Sanity check all of the time values passed to Web Audio; r=roc 2013-05-30 20:53:15 -04:00
Ehsan Akhgari
d78121a657 Bug 877523 - Correctly handle small maximum delay values for DelayNode; r=roc 2013-05-30 20:52:26 -04:00
Chris Pearce
fe7b147ad5 Bug 870400 - Calculate audio timestamps for WMF based on audio frames played, rather than trusting the container's timestamps. r=padenot 2013-05-31 11:34:52 +12:00