Commit Graph

4131 Commits

Author SHA1 Message Date
Karl Tomlinson
a4f8f72cb7 b=990841 work around bug 916387
--HG--
extra : transplant_source : %E5k%B8%F1%EC%A9X%EEj%C0DV%EAL%CE%3C%CB%8ERW
2014-05-05 13:24:51 +12:00
Karl Tomlinson
b14049c578 b=999376 use integers to clamp maximum position in WaveShaper curve r=ehsan
float did not necessarily have enough precision.

Includes a -1 fix in the multiplier of the input signal to have
"a signal level of zero corresponding to the center value of the curve array".

--HG--
extra : transplant_source : %05v%A2%0A%CA%96%96%A7%B0z%AA%A7%02L%8Fm%B4TB%95
2014-05-05 13:24:51 +12:00
Josh Aas
f00583cc36 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
Eric Rahm
039aec2db2 Bug 1001419 - Use SizeOfExcludingThis for non-heap allocated member variable. r=njn 2014-04-29 14:47:56 -07:00
Ryan VanderMeulen
78a7f45c70 Bug 982100 - Disable test_play_twice.html on B2G emulator builds due to intermittent failures. 2014-05-05 10:26:53 -04:00
Ryan VanderMeulen
5dd599514c Backed out changeset 090bd7835f82 (bug 1001419) for Linux mochitest-other failures. 2014-05-01 15:22:02 -04:00
Eric Rahm
daac73d06d Bug 1001419 - Use SizeOfExcludingThis for non-heap allocated member variable. r=njn 2014-04-29 14:47:56 -07:00
Jan Beich
a00caa3f64 Bug 1004194 - Unbreak build with --disable-webrtc after bug 970691. r=jesup
DONTBUILD change for non-default-config only
2014-05-01 04:22:27 -04:00
Blake Kaplan
16c8188cf8 Bug 1002729 - Avoid problems with ternary expressions and static const integers with no definition. r=jesup 2014-05-01 02:48:05 -04:00
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Benoit Jacob
115813e446 Bug 920292 - Fix a bad MOZ_ASSERT("message") in OmxTrackEncoder - r=ehsan 2014-04-30 12:46:51 -04:00
Birunthan Mohanathas
1b1e0b258c Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
Paul Adenot
5aad358265 Bug 998711. r=jesup 2014-04-25 15:15:21 +02:00
Jon Coppeard
bed7fc43d9 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
JW Wang
e0b5ed958d Bug 995090 - test if cloned media element should be able to play till the end even after the src attribute of the original is changed. r=cpearce 2014-04-29 18:59:00 +02:00
Benjamin Chen
d8bc0b81f5 Bug 999364 : Fix the cluster length for WebM. r=rillian 2014-04-30 10:08:41 +08:00
Ryan VanderMeulen
3a2a5043d4 Merge b2g-inbound to m-c. 2014-04-29 17:07:34 -04:00
Mike Habicher
be8b44eb3e Bug 985496 - rationalize camera error reporting, r=dhylands 2014-04-25 16:28:15 -04:00
Randell Jesup
a57546e61d Bug 1003003: Hold B2G camera callback monitor if we're going to call Notify() on it r=mikeh 2014-04-29 13:20:43 -04:00
Matthew Gregan
5598118a65 Bug 1002404 - Register subdecoders earlier to avoid missing initialization. r=cajbir 2014-04-28 23:07:00 +12:00
Matthew Gregan
3650adf51b Bug 1002994 - Remove array of old decoders from SourceBuffer, just keep a reference to the current decoder. r=cajbir 2014-04-28 23:12:00 +12:00
Matthew Gregan
b89b5976b4 Bug 1002987 - Forward subdecoder frame stats to parent decoder. r=cajbir 2014-04-28 23:09:00 +12:00
Matthew Gregan
8887c9ba1c Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Randy Lin
7ba5110d98 Bug 1000736 - Throw a error if an app tries to record a video from a video file being transcoded into a stream. r=tterribe. 2014-04-29 11:34:43 +08:00
Matthew Gregan
f8d0768980 Backout 07196a58650f (bug 1002320) so it can be relanded with a follow-up fix. 2014-04-29 18:52:18 +12:00
JW Wang
e4877bc941 Bug 916399 - autoplay fails to activate due to Bug 1001317, call play() instead, r=cpearce 2014-04-28 00:59:00 -07:00
Matthew Gregan
1bf8764b16 Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Matthew Gregan
2ffe11f586 Bug 946027 - Expose subdecoder's owner to avoid breaking DXVA decoding in MSE. r=cpearce 2014-04-27 17:36:00 +12:00
Matthew Gregan
a8aafa5022 Bug 1000180 - Disallow seeking SourceBufferResource to offsets that have been evicted from the input buffer. r=cajbir 2014-04-27 20:35:00 +12:00
Chris Double
9cb5d95413 Bug 1002294 - Fix ContainsTime in SourceBuffer to allow for gaps in time ranges - r=kinetik
--HG--
extra : rebase_source : 6f872c3cd3757f57832cd0797338a1f93b4fa977
2014-04-28 14:39:50 +12:00
Chris Double
1f1f57ae59 Bug 1002290 - Set MediaSource duration when read by MediaSourceReader - r=kinetik
--HG--
extra : rebase_source : 07ac1618cf17fd09b72b4fcf7d1fd2973f989999
2014-04-28 14:39:27 +12:00
Chris Pearce
c4ff2694d4 Bug 1002266 - Access MediaQueues from MediaDecoderStateMachine through accessors. r=kinetik 2014-04-28 13:12:50 +12:00
Matthew Gregan
2ebdd17068 Bug 881512 - Restrict MSE codec whitelist to WebM for now. r=cajbir 2014-04-23 21:25:00 +12:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jan-Ivar Bruaroey
a3f46f7289 Bug 907352 - Part 7: Width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:37 -04:00
Jan-Ivar Bruaroey
662705b4ac Bug 907352 - Part 6: Change media.navigator.video.default_width to 0. r=mt 2014-04-24 19:30:08 -04:00
Jan-Ivar Bruaroey
3e2d86f0b8 Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
2ff8cc766a Bug 907352 - Part 4: Normalized constraints to relieve downstream width/height/frameRate implementation. r=mt 2014-04-18 15:16:08 -04:00
Jan-Ivar Bruaroey
2a3906470e Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
JW Wang
7972af61bf Bug 843265 - Remove the check for 'canplaythrough' since the purpose of this test is test the 3 ways to register an event handler. r=kinetik 2014-04-24 23:49:00 -04:00
Matthew Gregan
dbe9c4100e Bug 881512 - Use MediaTaskQueue to run MSE tasks rather than a per-MSE thread. r=cajbir 2014-04-25 22:42:00 +12:00
JW Wang
d7d852eaa4 Bug 969392 - remove the check for 'canplaythrough' in 'ended' event handler r=kinetik 2014-04-26 00:46:32 -04:00
cajbir
f73a1081a6 Bug 1000608 - Populate active source buffers and fix/rename ContainsTime - r=kinetik 2014-04-23 19:44:00 +12:00
cajbir
ff8b2f2881 Bug 1000608 - Implement cue-less seeking on WebM Reader - r=kinetik 2014-04-23 19:47:00 +12:00
cajbir
af943fb408 Bug 1000608 - Implement seeking on MediaSourceDecoder - r=kinetik 2014-04-23 19:46:00 +12:00
cajbir
5d2491e7bc Bug 1000608 - Allow querying source buffers to see if they contain data for a given time - r=kinetik 2014-04-23 19:45:00 +12:00
Matthew Gregan
59b06dbdf1 Bug 881512 - Make sure any released decoders are destroyed on the main thread. r=cajbir 2014-04-24 00:44:00 +12:00
Matthew Gregan
7d7f4a76d1 Bug 881512 - Explicitly initialize ReadMetadata's aTags parameter to null. Also add some null deref tests. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
8c0bef6f0d Bug 881512 - Fix bogus indexing of audio/video readers by ditching audio/video reader arrays and using the parent decoder directly. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
a9c7d69c02 Bug 881512 - Delay decoder initialization by indicating that we're waiting for subdecoders to be created. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
5cbaa3d53a Bug 881512 - Don't mix refcounting with auto ptr use. Rather than try to hang on to the reader, punch the appropriate holes through via the state machine class. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
91fe868e8b Bug 881512 - Remove useless static_casts. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
02cc6eb8bf Bug 881512 - Use the base video and audio queues. Currently works by shifting media data from the sub-reader queues on each decode call. Future work could allow the sub-readers to use the base queues directly. r=cajbir 2014-04-22 01:33:00 +12:00
Matthew Gregan
a10589242d Bug 881512 - Don't pretend the entire resource is always completely cached. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
84774788fb Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
c8588b5b0f Bug 881512 - Crude attempt at segment parser for WebM. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
2aec6e3155 Bug 881512 - Switch video readers on EOF. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
42c5690b52 Bug 881512 - Start processing multiple decoders. r=cajbir 2014-04-22 01:30:00 +12:00
Matthew Gregan
8873c272f6 Bug 881512 - Add hidden pref to ignore MIME type in AddSourceBuffer and IsTypeSupported. For experimental/debugging use only. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
e50f2da194 Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
d17c1a9a70 Bug 881512 - Allow a SourceBuffer to own multiple subdecoders. Switch decoders on abort(). r=cajbir 2014-04-14 23:24:00 +12:00
Ryan VanderMeulen
2a22e940cd Merge b2g-inbound to m-c. 2014-04-25 16:12:25 -04:00
JW Wang
156303d605 Bug 981153 - Fix and re-enable test_seek.html. r=cpearce
* Enable test on Windows.
* Longer timeout for it could take over 10 mins on B2G.
* Release decoder to avoid timeout on waiting for decoding resource.
2014-04-24 20:45:00 -04:00
Benjamin Chen
12fab85fa3 Bug 990908 - Revert the change of bug 938512 and let the RTSP's code flow align to others. r=cpearce 2014-04-24 14:45:31 +08:00
Star Cheng
2d091525bf Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Carsten "Tomcat" Book
cac8e6e93b Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
f4ff6a62d2 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Paul Adenot
9a84687a23 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
Robert O'Callahan
dba7d4c6ba Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
Paul Kerr [:pkerr]
2435cef6ad Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Robert O'Callahan
ec44fe9ea2 Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size.
This ensures a test can make such a request, receive the event that the
load has been suspended, and cancel the request, all before the load has
completed.

--HG--
extra : rebase_source : c7ea934a1745004872d8529bb99241e2e376759c
2014-03-11 17:30:27 +08:00
John
aec1baf311 Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Wes Kocher
bd5e387b25 Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE
Backed out changeset 83f7aec5a083 (bug 970691)
Backed out changeset 94348d189ed5 (bug 970691)
2014-04-23 18:26:05 -07:00
Paul Kerr [:pkerr]
8a77293ef3 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Carsten "Tomcat" Book
7d66b2a945 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Ehsan Akhgari
66ed3f1461 Bug 999908 - Remove support for the Web Audio legacy prefs for AudioBufferSourceNode, AudioContext, and AudioParam; r=padenot 2014-04-23 08:56:42 -04:00
JW Wang
22158c2aa1 Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
77af058043 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
Carsten "Tomcat" Book
410267e783 Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
a75d3ed394 Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
Sotaro Ikeda
db7a0e4e36 Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
1009c20413 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
d77d681816 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
20d24e2d94 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
2144e66473 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
1f9314c7a8 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Ethan Tseng
5f43c64159 Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Ethan Tseng
7d80196a9c Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
0e5f7890cc Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
e8b41fbc67 Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
bcf38b36c6 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Jan Beich
f5c3201a40 Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Ryan VanderMeulen
6c9a60d624 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
a46b5ab059 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Ryan VanderMeulen
a9cc5ff586 Backed out changesets 1e581e74878d, 7d2138e87ca0, and 7cc66aee4341 (bug 942367) for B2G mochitest failures.
CLOSED TREE
2014-04-17 22:26:07 -04:00
Randell Jesup
061c1534da Bug 996853: handle AUDIO_FORMAT_SILENCE in MediaPipeline and AudioSegment::WriteTo r=roc 2014-04-17 17:45:25 -04:00
Eric Rahm
0c4d54b70f Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Martin Thomson
41016bdb71 Bug 942367 - Part 3: Stream isolation for WebRTC. r=jib, r=bholley 2014-04-10 11:52:08 -07:00
Martin Thomson
3fbfe60643 Bug 942367 - Part 2: DOMMediaStream support for PeerIdentity. r=bholley, r=roc 2014-04-10 11:51:29 -07:00
Randell Jesup
7164e62f23 Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Ralph Giles
0a786adb41 Bug 995289 - Use fmod to wrap custom waveform phase. r=padenot
From 4156df84046e8c0be31f02a9ac0ffac1cb9fe668 Mon Sep 17 00:00:00 2001
2014-04-14 19:12:13 -07:00
Birunthan Mohanathas
623dc45b86 Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
Paul Adenot
df3abc4a21 Bug 997229 - Don't call IdealAudioRate on an offline MediaStreamGraph r=roc
--HG--
extra : rebase_source : 44aec47b98965a663600a84c630c0f89239842a6
2014-04-17 11:15:47 +02:00
Ethan Tseng
b679219e9b Bug 877193 - Reduce memory usage for RTSP streaming. r=sworkman 2014-04-16 21:07:17 +08:00
Randell Jesup
2e6f61e3bb Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Carsten "Tomcat" Book
1d7f94aeb5 Backed out changeset 3d0426ac98f1 (bug 942367) 2014-04-16 09:54:33 +02:00
Carsten "Tomcat" Book
85d97d12db Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
b068285328 Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Martin Thomson
d12717bd09 Bug 942367 - DOMMediaStream supports PeerIdentity. r=bobbyholley 2014-04-15 13:46:00 +02:00
Kyle Huey
3be8fc6baf Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
b6957123df Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
CJKu
c1a308666a Bug 951044 - [MediaEncoder::GTest] Implement unit test of VP8 video track encoder. r=rillian 2014-04-15 12:51:19 -04:00
Ming
00e45da717 Bug 994015 - [tarako]some mp4 video plays not smoothly r=cpearce 2014-04-11 02:10:00 +02:00
Rick Eyre
1d6973a0c5 Bug 974017 - Update vtt.js r=rillian.
This update contains the optimization for rendering cues
with large line values. It also reverts the change to clamp
parsed line values to between -1000 and 1000.
2014-04-14 07:57:00 +02:00
Chris Pearce
5205d683d0 Bug 993753 - Don't set media decoders idle while seeking. r=kinetik 2014-04-15 15:01:34 +12:00
Ryan VanderMeulen
1823db3230 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Randell Jesup
cec7b451da Bug 919215: Drop queued audio data on low-latency startup, make AudioStream::Init() async r=roc,padenot 2014-04-09 15:59:07 -04:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
a50fb4de7c Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
acd8c16b76 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Ryan VanderMeulen
9358e99d5e Backed out changeset b026cd9460ed (bug 995637) for mochitest-1 failures.
CLOSED TREE
2014-04-13 21:26:52 -04:00
Ehsan Akhgari
9ba140580d Bug 995637 - Remove the MochiKit includes from content/media tests; r=roc 2014-04-13 18:52:07 -04:00
Jan Beich
d08da323e7 Bug 995543 - Unbreak libc++ build after bug 982490 by using more portable mozilla::Abs. r=jesup 2014-04-13 15:41:07 -04:00
Benjamin Chen
ba7042f6f2 Bug 993303 - Correct the VorbisTrackEncoder::WriteLacing function. r=rillian 2014-04-11 13:54:15 +08:00
Andrea Marchesini
eaa3ff4eed Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Rick Eyre
ce6c727cbe Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz
This way when the video is resized the rendering algorithm for the cues
will run again and hence, the caption size will be increased/decreased
for the new size of the video.
2014-04-07 15:42:33 -04:00
Paul Adenot
0813ec1527 Bug 991504 - Detect silent chunk when resampling, and properly handle them. r=roc 2014-04-07 18:22:11 +02:00
Chris Peterson
9af02d7f44 Bug 984071 - Part 2: Fix Linux warnings about unused LoadManager member variables. r=gcp 2014-04-07 17:36:41 -07:00
Ryan VanderMeulen
411811f032 Merge m-c to inbound on a CLOSED TREE. 2014-04-11 16:24:56 -04:00
Sotaro Ikeda
8305355d18 Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
Ryan VanderMeulen
67a863c0c5 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Mike Habicher
148549b192 Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan 2014-04-09 11:53:41 -04:00
Randell Jesup
5e3462d2a3 Bug 818822: Reduce fake audio/video rates on b2g debug only to avoid overloading mochitest emulator VMs r=padenot
CLOSED TREE
2014-04-07 08:48:24 -04:00
Randell Jesup
5928af2426 Bug 993787: Make SineWaveGenerator not refcounted r=ehsan 2014-04-09 16:59:25 -04:00
Randell Jesup
47877c9f12 Bug 993787: Make MediaEngine threadsafe r=ehsan 2014-04-11 11:35:34 -04:00
Bobby Holley
057efc8b23 Bug 990290 - Null-check AudioNode's mContext during unlink. r=ehsan
Unlink can happen twice, apparently.
2014-04-11 07:59:47 -07:00
Randell Jesup
3c1971125d Bug 985714: Monitor AEC echo levels (ERLE/etc) in gUM r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
d63ba60c75 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
54ff846572 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
fb47ca9266 Bug 694814: Patch 3 - Add far-end mixer observer and insert far-end audio for AEC r=padenot 2014-04-02 13:58:19 -04:00
Paul Adenot
c92abbdb27 Bug 982490 - Ensure for MSG cycle that each MediaStream write the same number of frames to their AudioStream. r=jesup,roc 2014-03-24 11:06:06 +01:00
Paul Adenot
f95b126073 Bug 818822: disable media-element-source-seek-1 for B2G due to bug 994351 r=drno 2014-04-09 16:31:41 +02:00
Paul Adenot
ce58cb728c Bug 818822 - Resample all inputs of the MediaStreamGraph to the ideal audio rate. r=roc 2014-03-24 11:06:05 +01:00
Rick Eyre
a980ca643a Bug 950308 - TextTrack, TextTrackCue, TextTrackList should BindToOwner. r=smaug 2014-04-07 13:58:38 -04:00
Carsten "Tomcat" Book
d8cac0a0f4 Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
e7f2c01a1a Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Michael Pruett
558552bcd5 Bug 847827 - Update libsoundtouch to allow changing playback rate with multichannel audio. r=padenot
--HG--
extra : rebase_source : ebf10737b048ae3280b9a7706f701337211b2880
2014-04-10 10:37:07 +02:00
Jonathan Watt
3e160b2c76 Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow 2014-04-10 09:49:53 +01:00
Vasanthakumar Pandurangan
bf1ea57aff Bug 976172 - Part 1 Changes in MediaOmxDecoder to enable audio offloading r=roc
This adds support in MediaOmxDecoder to dynamically switch between
MediaDecoderStateMachine and AudioOffloadPlayer
2014-04-08 20:59:07 +05:30
Vasanthakumar Pandurangan
2a4aa49d80 Bug 976172 - Part 2 Enable audio offloading in gecko r=padenot
Implements a new class AudioOffloadPlayer to make use of
Android::AudioTrack class's offloading capability
2014-03-22 18:40:05 +05:30
Chris Pearce
eb35ad5fb8 Bug 993003 - Ensure we abort media load if IMFSourceReader creation fails. r=padenot 2014-04-09 16:45:32 +12:00
Kyle Huey
8465d25d7c Back out bug 991812 for bustage on a CLOSED TREE. r=me 2014-04-08 17:26:33 -07:00
Kyle Huey
7d49ea1ba1 Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan 2014-04-08 16:37:05 -07:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen
fe0ec6cc66 Merge inbound to m-c. 2014-04-08 18:17:58 -04:00
Gabriele Svelto
9f6783ee3f Bug 988760 - Account extra time since blocking correctly. r=karlt 2014-04-07 13:20:57 +02:00
Peter Van der Beken
7741df1efa Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Brian Hackett
93a0fa7b72 Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 13:04:37 -07:00
Ryan VanderMeulen
6ba3302194 Backed out changeset e35851f07b67 (bug 987508) for non-unified bustage. 2014-04-07 15:49:48 -04:00
Randell Jesup
a67da28e91 Backed out changeset 974c4db3003e (bug 818822) 2014-04-07 15:42:01 -04:00
Randell Jesup
8da8e8d53a Backed out changeset 5349ecd9c313 (bug 818822) 2014-04-07 15:40:55 -04:00
Randell Jesup
e5b76be31d Backed out changeset 87f437be7de5 (bug 982490) 2014-04-07 15:37:56 -04:00
Randell Jesup
efa12f9d2b Backed out changeset e3664615ecbf (bug 694814) 2014-04-07 15:37:52 -04:00
Randell Jesup
0b1f4473c8 Backed out changeset 74e5c32c6fa2 (bug 694814) 2014-04-07 15:37:51 -04:00
Randell Jesup
c824757a77 Backed out changeset 6dc08e9fc7e8 (bug 694814) 2014-04-07 15:37:50 -04:00
Randell Jesup
f1e79bbc33 Backed out changeset daf5df0306b2 (bug 985714) 2014-04-07 15:37:48 -04:00
Peter Van der Beken
8cf720bdb0 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Brian Hackett
50cf7b748f Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 11:46:54 -07:00
Randell Jesup
fc1bd618c3 Bug 991504 - Temporary assertion removal to fix bustage in AudioSegment r=jesup
CLOSED TREE
2014-04-07 13:50:28 -04:00
Randell Jesup
e5407b5fd7 Bug 985714: Monitor AEC echo levels (ERLE/etc) in gUM r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
9f3e338198 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
d6aff81ad7 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
aca5c5827c Bug 694814: Patch 3 - Add far-end mixer observer and insert far-end audio for AEC r=padenot 2014-04-02 13:58:19 -04:00
Paul Adenot
07df38f7df Bug 982490 - Ensure for MSG cycle that each MediaStream write the same number of frames to their AudioStream. r=jesup,roc 2014-03-24 11:06:06 +01:00
Paul Adenot
bd6d91c746 Bug 818822 - Resample all inputs of the MediaStreamGraph to the ideal audio rate. r=roc 2014-03-24 11:06:05 +01:00
Randell Jesup
b30e2cdea8 Bug 818822: Reduce fake audio/video rates on b2g debug only to avoid overloading mochitest emulator VMs r=padenot 2014-04-07 08:48:24 -04:00
Peter Van der Beken
a12d286723 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Matt Woodrow
1decbcaebc Bug 904890 - Part 4: Enable hardware accelerated video decoding for OMTC+D3D9/11. r=cpearce 2014-04-07 15:17:41 +12:00
Matt Woodrow
b93f84571b Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Phil Ringnalda
18f873ac9e Backed out 4 changesets (bug 991028) for nonunified bustage
CLOSED TREE

Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
0851e5c863 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Karl Tomlinson
54601db7a2 b=990794 crash on ovrfl in AllocateAudioBlock r=roc
--HG--
extra : transplant_source : %030X%15H%0DN%AA%7B%AEl%2Bi%2A%AB%3D%9C%23%0C%FF
2014-04-03 21:12:54 +13:00
Karl Tomlinson
187c1718b9 b=990794 crash on ovrfl in SharedBuffer::Create() r=roc
--HG--
extra : transplant_source : %3F%C2%21%06%C0%A8Z%14%93%82%90%2CT%CE%3E%EC%C2%D0%E4W
2014-04-03 21:12:29 +13:00
Ed Morley
626ace104f Backed out changeset 2ac8fe9a90c5 (bug 948269) for timeouts in gaia-integration tests; CLOSED TREE 2014-04-04 16:32:19 +01:00
Ed Morley
13b5f72b81 Backed out changeset e00d10064639 (bug 948269) 2014-04-04 16:31:44 +01:00
Matthew Gregan
238f9439d8 Bug 948269 - Remove incorrect assertion from AudioSink::Drain. r=cpearce 2014-04-04 15:31:10 +13:00
Matthew Gregan
93fb27c730 Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce 2013-12-11 18:03:30 +13:00
Neil Rashbrook
a8a5decf6f Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Chris Pearce
d0a93358ad Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot
Report that we can play MP3 inside MP4 on Windows Vista and later in
HTMLMediaElement.canPlayType. Chrome and IE on Windows match this behaviour.

Add a test file with MP3 contained inside MP4. Note the B2G emulator can't play
this file, so I added a codecs parameter to the file's mime type so that
decoder backends have to opt-in to testing with it.

Enable playback of MP3 inside MP4 in WMFReader.

Change from reporting the IMFSourceReader's duration inside WMFReader, to
instead report the IMFSourceReader's duration as the media "end time". This is
needed because the MP3-contained-in-MP4 file's first sample output by the
IMFSourceReader has a non-zero timestamp, and the MediaDecoderStateMachine
assumes that the media samples will be in the range
[$firstSampleStartTime, $firstSampleStartTime+$reportedDuration]. But that's
not the case here, the IMFSourceReader seems to output samples in the range
[0,$reportedDuration]. This assumption mismatch means on the
MP3-contained-in-MP4 file we end up trying to seek after what the
IMFSourceReader assumes is the end of the file, which fails and causes
test failures.
2014-04-04 10:39:42 +13:00
Chris Pearce
38f4ff548e Bug 991448 - Skip Theora decode to next keyframe after seek, so that we don't get visual artifacts after a fastSeek. r=cajbir 2014-04-04 10:39:15 +13:00
Rick Eyre
0c16d60594 Bug 879431 - Set VTTCue's TextTrack from TextTrack::AddCue r=rillian
We were having an issue where the cue's track property was undefined
because it was never set when adding the cue to a text track's list
of cues.
2014-04-02 18:16:00 +02:00
Wes Kocher
58f74f6ca3 Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
Wes Kocher
d92c846307 Merge b2g-inbound to m-c 2014-04-02 19:06:17 -07:00
Ed Morley
0480314528 Merge mozilla-central and b2g-inbound 2014-04-02 18:56:09 +01:00
JW Wang
061bca995e Bug 990356 - Part 3: Remove nsRunnable base class from MediaDecoderStateMachine. r=cpearce 2014-04-02 08:51:47 -04:00
JW Wang
ed9bb75a2d Bug 990356 - Part 2: Only one way to dispatch state machine (using a timer) tasks and remove unused variables. r=cpearce 2014-04-02 08:51:47 -04:00
JW Wang
994cb3c402 Bug 990356 - Part 1: Remove lazy init of |mTimer| since we need one for most of the case. r=cpearce 2014-04-02 08:51:46 -04:00
Ryan VanderMeulen
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00