Commit Graph

21251 Commits

Author SHA1 Message Date
Karl Tomlinson
e8acbcec99 crashtest for bug 990794
--HG--
extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
2014-07-30 17:45:12 +12:00
Karl Tomlinson
786473be33 crashtest for bug 966636
derived from testcase by Atte Kettunen <attekett@gmail.com>

--HG--
extra : rebase_source : 8ec0f239e118d92e04b368490c49dd045bfc5ca5
2014-07-30 12:55:05 +12:00
Karl Tomlinson
1ae7284cfc crashtest for bug 944851
based on testcase by Jesse Ruderman <jruderman@gmail.com>

--HG--
extra : rebase_source : f9bbe6e23afac15180a91e7c6d276483e4320d3a
2014-07-30 13:33:32 +12:00
Karl Tomlinson
8ff2a07095 b=1033122 be consistent about speex_resampler symbol visibility r=khuey
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers.  Visibility of undefined symbols depended on the order
of includes.

This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.

--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Jed Davis
4988c84491 Bug 1012951 - Sandbox GMP plugins on Linux using seccomp-bpf. r=kang r=ted 2014-07-29 15:31:12 -07:00
Chris Pearce
09e23d42b8 Bug 1044738 - Decrypt EME content in a PDM, send to a wrapped PDM for decoding. r=edwin 2014-07-30 18:53:34 +12:00
Chris Pearce
8e5a39d66d Bug 1043147 - Update CDMProxy and EME JS APIs to proxy calls to a GMP/CDM. r=ehsan 2014-07-30 18:53:28 +12:00
Patrick McManus
5116dd5ac7 bug 1014058 async scripts should run unblocked r=bz 2014-07-24 14:31:49 -04:00
Boris Zbarsky
6912bc0a29 Bug 957243. Fix test_bug602838.html to not assume server response ordering. r=mayhemer 2014-07-29 21:33:17 -04:00
Jeff Walden
478e2dede7 Bug 1044598 - Followup to add already_AddRefed<Session> locals to MediaRecorder.cpp to fix explicit-constructor issues. r=bustage in a CLOSED TREE, will get someone else to look at post-landing 2014-07-29 12:39:02 -07:00
Jeff Walden
1b37e5e755 Bug 1044598 - Make nsCOMPtr.h no longer depend on the un-definition of MOZ_HAVE_CXX11_NULLPTR. r=ehsan
--HG--
extra : rebase_source : cc737646470e6ebb81f87d3a0751f20b712c9390
2014-07-29 11:41:45 -07:00
Olli Pettay
002765c2d0 Bug 1025933, support clientWidth, clientHeight, getBoundingClientRects etc for elements in shadow DOM, r=bz 2014-07-29 21:42:31 +03:00
Paul Adenot
97979486b9 Bug 1045018 - Implement a thread safe singleton to allow setting kAudioHardwarePropertyRunLoop property to NULL only once. r=gcp 2014-07-29 18:45:05 +02:00
Paul Adenot
8368a7bfe6 Bug 1027713 - Part 5 - Trigger the panning logic on stream creation. r=jesup
UpdateStreamOrder is not called often because it's expensive (it's called only
when the graph topology changed), and it's earlier in the MSG loop than the
audio stream creation, so we need to tell the newly created AudioStream that a
microphone is active on creation as well.

The panning logic is also now triggered on stream start, because it is async.
2014-07-29 18:45:05 +02:00
Paul Adenot
6d444d0b02 Bug 1023947 - Part 3 - Reset the output AudioStream when switching to an audio input device that uses the headphone jack on osx. r=jesup 2014-07-18 19:22:03 +02:00
Paul Adenot
2b12c90e8a Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik 2014-07-18 19:21:27 +02:00
Paul Adenot
e25b14a438 Bug 1023947 - Part 1 - Drop frame instead of buffering them when we are swiching device. r=jesup 2014-07-18 19:20:00 +02:00
Paul Adenot
ae5c8c7f2b Bug 1027713 - Part 4 - Pan audio to the right when we are using gUM and outputing sound using MacBookPro speakers. r=jesup 2014-07-29 18:45:03 +02:00
Paul Adenot
9c87d86e7e Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik 2014-07-29 18:45:02 +02:00
Andrea Marchesini
a83b79a685 Bug 1044514 - AudioDestinationNode should not be kept alive by the event listener, r=ehsan 2014-07-29 16:30:40 +01:00
Gian-Carlo Pascutto
fe3d9a39ca Bug 1015932 - Add Gonk include dirs for OpenSLES. r=mshal 2014-07-29 16:46:12 +02:00
Gian-Carlo Pascutto
3021450e1b Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
0b01c8a2ac Bug 1015932 - Add systemservices subdir to content/media. r=jesup
--HG--
rename : content/media/webrtc/LoadManager.cpp => content/media/systemservices/LoadManager.cpp
rename : content/media/webrtc/LoadManager.h => content/media/systemservices/LoadManager.h
rename : content/media/webrtc/LoadManagerFactory.cpp => content/media/systemservices/LoadManagerFactory.cpp
rename : content/media/webrtc/LoadManagerFactory.h => content/media/systemservices/LoadManagerFactory.h
rename : content/media/webrtc/LoadMonitor.cpp => content/media/systemservices/LoadMonitor.cpp
rename : content/media/webrtc/LoadMonitor.h => content/media/systemservices/LoadMonitor.h
2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
58fbfb05e2 Bug 1015932 - Shareable OpenSLES engine between cubeb and WebRTC. r=jesup 2014-07-29 16:45:37 +02:00
Jean-Yves Avenard
05f7952a66 Bug 1041950 - Create image copy instead of reference. r=edwin 2014-07-28 16:10:29 +12:00
Jean-Yves Avenard
a5e1e003e3 Bug 1040550 - Prevent MediaSource::SetDuration from being called outside the main thread. r=kinetik 2014-07-28 11:50:32 +12:00
Morris Tseng
c931ed8a90 Bug 987040 - Part 2: Add a flag indicate whether CollectClientRects should flush layout or not. r=ehsan 2014-07-23 23:06:00 +02:00
Morris Tseng
f56cb94859 Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz 2014-07-28 01:21:00 +02:00
Karl Tomlinson
8cf6207e6c b=1022945 only AppendToTrack before SourceMediaStreams are destroyed r=roc
--HG--
extra : rebase_source : 016877261fb7a10b6d99abd17a8ca26b222d38c4
2014-07-25 09:23:59 +12:00
Karl Tomlinson
362bf935fb b=1022945 null MediaInputPort::mGraph when removing port from graph r=roc
This shouldn't be necessary, if clients do the right things, but provides some
safety, in case they don't.

--HG--
extra : rebase_source : e64d663c27f03eff35f538c205cd66d42420d9e4
2014-07-25 09:18:38 +12:00
Karl Tomlinson
475c0c12d9 b=1022945 null MediaStream::mGraph before removing stream from graph r=roc
and use mGraph to test whether SourceMediaStreams are destroyed.

--HG--
extra : rebase_source : 03df9e7ab14ecd627dfeb333b79713a7b619f215
2014-07-25 09:09:22 +12:00
Karl Tomlinson
3f2f349681 b=1022945 remove SetStreamOrderDirty call from ProcessedMediaStream::DestroyImpl r=roc
The stream order is only important if there are connections, in which case
MediaInputPort::Disconnect() calls SetStreamOrderDirty().

MediaStreamGraphImpl::RemoveStream() also calls SetStreamOrderDirty(), which
ensures that mFirstCycleBreaker is updated when necessary.

--HG--
extra : rebase_source : b437f0d078a481725579456d91acc32353e1221a
2014-07-25 08:36:07 +12:00
Karl Tomlinson
dfda971016 b=1022945 make some SourceMediaStream methods,classes protected r=roc
including ResampleAudioToGraphSampleRate() which assumes a graph.

--HG--
extra : rebase_source : d6884dc8d36e4985e14558cc78d69e99ffeba921
2014-07-25 08:23:40 +12:00
Karl Tomlinson
a7a9ce2d81 b=1041466 don't remove one too many streams from the SCC stack r=roc
Also reduce the number of ProcessedMediaStream* static_casts and use a new
variable name |removed| to emphasize what is happening.

--HG--
extra : rebase_source : 50b6c5e2d97a2e4ffbf9db993e1327de8c1d7b36
2014-07-24 21:58:01 +12:00
Bruce Sun
1bbf864d99 Bug 1041453 - Fix crash issues of MediaCodecReader for Vorbis data. r=cpearce 2014-07-29 11:03:06 +08:00
Andrew McCreight
9665b2058a backed out c6691cff88a4 (bug 1044598 pt 3) for lots of leaks on this CLOSED TREE 2014-07-28 17:14:05 -07:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Christoph Kerschbaumer
7f2b114216 Bug 1043602 - Use TYPE_SUBDOCUMENT instead of TYPE_SCRIPT for contentPolicyCheck in ImportManager (r=gabor) 2014-07-24 13:44:49 -07:00
Ehsan Akhgari
a7a241f207 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Ehsan Akhgari
cc9595cff5 Bug 1044598 - Part 3: Fix two refcounting errors in MediaRecorder code; r=roc 2014-07-28 09:58:02 -04:00
Randell Jesup
18183503d2 Bug 1044550: Move GMP shared mem cache from a global to per-GMPParent r=cpearce 2014-07-28 11:44:20 -04:00
Randell Jesup
3f9a64b84f Bug 1043531: Safely delete GMP processes when unused and handle plugin crashes r=cpearce 2014-07-28 11:42:55 -04:00
Ryan VanderMeulen
7d109c3b7f Backed out changesets c6691cff88a4 and 43a7db7bf902 (bug 1044598) for bustage.
CLOSED TREE
2014-07-28 11:08:12 -04:00
Ehsan Akhgari
10704324a7 Bug 1044598 - Part 3: Fix two refcounting errors in MediaRecorder code; r=roc
--HG--
extra : rebase_source : 6b817aa2949e5dca4dde171010dd7727ad03bd70
2014-07-28 09:58:02 -04:00
Carsten "Tomcat" Book
a0b03bc21c Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-07-28 16:30:30 +02:00
Carsten "Tomcat" Book
da7e690ac3 merge fx-team to mozilla-central a=merge 2014-07-28 15:44:12 +02:00
Wes Kocher
b1154f1e05 Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Paul Adenot
59516ac444 Bug 1043025 - Null-check when getting the parent object of an AudioContext because we might not have a window all all time during shutdown. r=roc 2014-07-24 12:01:13 +02:00
Carsten "Tomcat" Book
fcbc7193c4 Backed out changeset 4058c55db564 (bug 1015932) for bustage on a CLOSED TREE 2014-07-28 11:52:29 +02:00