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
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
Ehsan Akhgari
ff03101c76
Bug 877039 - Set the Web Audio maximum channel count to 32; r=roc
...
--HG--
extra : rebase_source : 7e5bb51cd3bd9b4fbe01649af8f14e17cf6b3042
2013-05-30 14:25:52 -04:00
Ehsan Akhgari
1de812f9ff
Bug 877231 - Make the error checking for the OfflineAudioContext constructor more strict; r=roc
...
--HG--
extra : rebase_source : 123a39f3d4a169c85927b4e23f99a9962efc4452
2013-05-29 19:35:30 -04:00
Ehsan Akhgari
b60b4f5031
Bug 877125 - Handle the case where the expected number of channels for the offline AudioDestinationNode and the actual input number of channels do not match; r=roc
...
--HG--
extra : rebase_source : 432c10fe039b24b1aea1d0329ebef37f9e62cd0a
2013-05-29 19:33:14 -04:00
Ryan VanderMeulen
eb4d754279
Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE.
2013-05-29 17:56:10 -04:00
Arnaud Sourioux
83d60db473
Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug
2013-05-29 13:43:41 -07:00
Ehsan Akhgari
fd9088c5e1
Bug 875221 - Make sure to balance the creation and destruction of streams for media graphs; r=roc
2013-05-29 11:38:39 -04:00
Ehsan Akhgari
e0fbc6e3fe
Bug 876215 - Correctly deal with nodes that require 0 input channels by feeding them a null AudioChunk; r=roc
...
The assertion here is really not correct, since as this testcase shows,
it's now easy for web content to control the value of outputChannelCount.
--HG--
extra : rebase_source : a6282517673b7c9e73c2114ee0b944fc1022e4ae
2013-05-29 07:40:14 -04:00
Ehsan Akhgari
fe9a997fa6
Bug 876118 - Impose a unified channel count limit of 10000 channels in Web Audio; r=roc
...
--HG--
extra : rebase_source : 480cebb99e5dd8673df179b490d11e6c513fa1d1
2013-05-29 07:36:37 -04:00