Ryan VanderMeulen
46c9b0371c
Merge inbound to m-c. a=merge
2014-07-30 17:13:20 -04:00
Ralph Giles
91d62bf836
Bug 941296 - Fix non-unified build. r=bustage CLOSED TREE
...
We need to include a headers defining nsrefcnt and NS_IsMainThread(),
and make sure we reference the CMLinker versions of the CoreMedia
functions rather than the system ones.
2014-07-30 11:43:05 -07:00
Masayuki Nakano
c7581f07b6
Bug 1045978 Create InternalSVGZoomEvent class and InternalSMILTimeEvent class r=smaug
2014-07-31 02:16:57 +09:00
Ralph Giles
1685fc6756
Bug 1043695 - Fix comment formatting. r=cpearce
2014-07-26 23:45:00 -07:00
Ralph Giles
394b0b1cf2
Bug 1043695 - Add a frame reorder queue. r=cpearce
...
This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.
Based on now-removed code from Edwin's FFmpegH264Decoder.
2014-07-24 17:08:00 -07:00
Ralph Giles
6d3a2ab236
Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce
...
Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
2014-07-24 16:58:00 -07:00
Ralph Giles
396c36fc5a
Bug 1043695 - Log output frame metadata. r=cpearce
...
Also cleans up the input sample log so they're easier to compare.
2014-07-24 16:57:00 -07:00
Ralph Giles
e94e627d56
Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce
...
Everything else auto-releases, might as well do this too.
2014-07-24 16:56:00 -07:00
Jean-Yves Avenard
d38ea5b37c
Bug 1046005 - Fix compilation on OS X 10.9. r=rillian
...
We never directly link against the CoreVideo framework,
as such no external definition will be resolved
2014-07-30 22:32:58 +12:00
Carsten "Tomcat" Book
2b5b81b74e
Merge mozilla-central to b2g-inbound
2014-07-30 14:14:01 +02:00
Karl Tomlinson
78909dbd39
crashtest for bug 990794
...
--HG--
extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
2014-07-30 17:45:12 +12:00
Karl Tomlinson
574d7298b5
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
3ddd5f9050
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
Szu-Yu Chen [:aknow]
59bd7c20af
Bug 1036851 - Part 2: Add ready event (dom). r=hsinyi
2014-07-21 19:17:00 +02:00
Ralph Giles
e4b57f2456
Bug 941296 - Fix type conversion errors on 32-bit MacOS. r=cpearce
...
UInt32 is an unsigned long on i686 while uint32_t is an unsigned int.
The compiler can't covert from a pointer to one to the pointer to
the other, so just use the MacOS type.
There's no problem on 64-bit.
2014-07-26 23:43:00 -07:00
Ralph Giles
a48362450f
Bug 941296 - AAC platform decoder for OS X. r=edwin,cpearce
...
Implement an AAC decoder based on the AudioToolbox wrapper
in AppleMP3Decoder.
2014-07-24 16:30:00 -07:00
Ralph Giles
cade26b103
Bug 941296 - Fix warnings from debug-only code. r=cpearce
...
These reported as unused variable warnings in non-debug builds.
2014-07-26 23:40:00 -07:00
Ralph Giles
2cba6bf3fb
Bug 941296 - Add a missing close brace. r=cpearce
...
Accidentally clobbered this when adding the APPLEMEDIA #ifdef.
Fixes build against ffmpeg, etc.
2014-07-28 15:36:00 -07:00
Ralph Giles
b18d697104
Bug 941296 - h.264 platform decoder for OS X. r=cpearce
...
Implement an h.264 decoder using Apple's VideoToolbox framework.
Based on gstreamer's vtdec because there's very little documentation
for this API beyond the framework's header file.
Reuse the MOZ_APPLEMEDIA define from the mp3 decoder.
AAC decoding is stubbed to use the BlankDecoderModule's 440A tone.
Provide a stub header for the VideoToolbox framework and load
it dynamically at run time so we can build and run on versions
prior to MacOS X 10.8 where it's not available.
Dynamically load the CoreMedia framework as well, but build
against its headers since it's available on MacOS X 10.7 or
later, which is our minimum build version.
2014-07-24 13:47:00 -07:00
Ed Morley
dcbfd040d1
Backed out changeset d50d7e88f35e (bug 1012951) for LSan failures
2014-07-30 16:49:43 +01:00
Andrea Marchesini
62d197e48c
Bug 1046139 - nsDOMFileInternalUrlHolder can be removed., r=ehsan
2014-07-30 16:12:00 +01:00
Andrea Marchesini
1054e1f42a
Bug 1036431 - Setting AudioContext.mozAudioChannelType should set the audiochannel in mStream as well, r=ehsan
2014-07-30 12:26:12 +01:00
Karl Tomlinson
890c626840
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
8cff1bfff8
Bug 1012951 - Sandbox GMP plugins on Linux using seccomp-bpf. r=kang r=ted
2014-07-29 15:31:12 -07:00
Chris Pearce
482bbdf76e
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
b572c814bb
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
0d24f735a7
bug 1014058 async scripts should run unblocked r=bz
2014-07-24 14:31:49 -04:00
Boris Zbarsky
da40c34bce
Bug 957243. Fix test_bug602838.html to not assume server response ordering. r=mayhemer
2014-07-29 21:33:17 -04:00
Jeff Walden
7a90a4fb83
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
e9e4aa4f5e
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
1aa8852cef
Bug 1025933, support clientWidth, clientHeight, getBoundingClientRects etc for elements in shadow DOM, r=bz
2014-07-29 21:42:31 +03:00
Paul Adenot
83a41ca38f
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
0146ada851
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
b91a3b3a98
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
bd465041df
Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
2014-07-18 19:21:27 +02:00
Paul Adenot
508c71953a
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
b2c10649c1
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
90c7b668ff
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
796ec5ad0f
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
00da085b5f
Bug 1015932 - Add Gonk include dirs for OpenSLES. r=mshal
2014-07-29 16:46:12 +02:00
Gian-Carlo Pascutto
6bba4e1e18
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
8727fe3273
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
f3e5dce15a
Bug 1015932 - Shareable OpenSLES engine between cubeb and WebRTC. r=jesup
2014-07-29 16:45:37 +02:00
Jean-Yves Avenard
575b6c84f5
Bug 1041950 - Create image copy instead of reference. r=edwin
2014-07-28 16:10:29 +12:00
Jean-Yves Avenard
e2367255f8
Bug 1040550 - Prevent MediaSource::SetDuration from being called outside the main thread. r=kinetik
2014-07-28 11:50:32 +12:00
Morris Tseng
cc9241e019
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
bdc2515786
Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz
2014-07-28 01:21:00 +02:00
Karl Tomlinson
44362049aa
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
2b3a4e189d
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
ea108f4a53
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