Commit Graph

21287 Commits

Author SHA1 Message Date
JW Wang
5df44ffedf Bug 1034957 - don't spin decode task queue waiting for audio frames since it hangs with gstreamer 1.0. r=cpearce 2014-07-30 20:58:00 +02:00
Olli Pettay
00cf47c562 Bug 1024428 - don't crash when using input type='range' in shadow dom. r=wchen 2014-07-30 23:15:44 +03:00
Masayuki Nakano
808c0a4d48 Bug 496360 part.2 IMEContentObserver shouldn't dispatch TextChangeEvent while editor handles an edit action r=ehsan+smaug, sr=smaug 2014-07-31 13:37:59 +09:00
Daniel Holbert
aa377700c6 Bug 1046282 part 4: Make Create*Decoder functions return already_AddRefed. r=rillian 2014-07-30 18:40:21 -07:00
Daniel Holbert
44a462e1a0 Bug 1046282 part 3: Use nsRefPtr instead of RefPtr for DecoderData::mDecoder (and mTaskQueue, for consistency & good measure). r=rillian r=cpearce 2014-07-30 18:40:19 -07:00
Daniel Holbert
9c663b0e34 Bug 1046282 part 2: Drop unnecessary else-after-return in EMEDecoderModule.cpp. r=rillian 2014-07-30 18:40:18 -07:00
Daniel Holbert
07ea0b12df Bug 1046282 part 1: Make Create*Decoder function-signatures use a consistent style. r=rillian 2014-07-30 18:40:14 -07:00
Daniel Holbert
879130a56f (no bug) Move a comment to more appropriate spot, in SVGTransformableElement.h. comment/whitespace-only, DONTBUILD 2014-07-30 14:55:38 -07:00
Randell Jesup
523b21da24 Bug 1044408: enable crashing all GMP plugins on a pref strobe r=cpearce,ted 2014-07-30 17:40:43 -04:00
Sid Stamm
37ef5b48e5 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
20bf669758 Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
0019b6c74f Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
edab85ef33 Bug 994782 - Remove the old Content Security Policy parser, CSPUtils.jsm and tie-in logic. (r=ckerschb,jst) 2014-07-30 14:37:22 -07:00
Ryan VanderMeulen
fe0282dc8f Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-30 17:16:05 -04:00
Ryan VanderMeulen
879108f360 Merge inbound to m-c. a=merge 2014-07-30 17:13:20 -04:00
Ralph Giles
42bbe06969 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
ed09b7bff6 Bug 1045978 Create InternalSVGZoomEvent class and InternalSMILTimeEvent class r=smaug 2014-07-31 02:16:57 +09:00
Ralph Giles
f43eae08fb Bug 1043695 - Fix comment formatting. r=cpearce 2014-07-26 23:45:00 -07:00
Andrew McCreight
9d2f3d6535 Bug 1034909 - Remove dangerous public destructor of nsSVGViewBox. r=bjacob 2014-07-30 13:00:28 -07:00
Benoit Jacob
24320668ca Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Daniel Holbert
282beab189 Bug 1046263: Drop EMEDecoderModule.cpp's unused #include for runnable_utils.h (to fix --disable-webrtc builds). r=cpearce 2014-07-30 12:25:27 -07:00
Ralph Giles
b56cc112f0 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
9fcd06be4b 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
ac294c190a 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
6ff640055a 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
2f471276ca 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
c7a256d81d Merge mozilla-central to b2g-inbound 2014-07-30 14:14:01 +02:00
Karl Tomlinson
21244bbd4c crashtest for bug 990794
--HG--
extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
2014-07-30 17:45:12 +12:00
Karl Tomlinson
2a948ef5df 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
f19e56d843 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]
61c39eb2d9 Bug 1036851 - Part 2: Add ready event (dom). r=hsinyi 2014-07-21 19:17:00 +02:00
Ralph Giles
ee6e2e7884 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
74a7e5cb1c 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
e9104482d2 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
df7460f859 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
a998be842d 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
433e593c8c Backed out changeset d50d7e88f35e (bug 1012951) for LSan failures 2014-07-30 16:49:43 +01:00
Andrea Marchesini
b1d8dd8edd Bug 1046139 - nsDOMFileInternalUrlHolder can be removed., r=ehsan 2014-07-30 16:12:00 +01:00
Andrea Marchesini
9fe3bf9977 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
39582dd9ce 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
ac97af274c Bug 1012951 - Sandbox GMP plugins on Linux using seccomp-bpf. r=kang r=ted 2014-07-29 15:31:12 -07:00
Chris Pearce
29bdfb87bc 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
44b0d5968b 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
b262049fdc bug 1014058 async scripts should run unblocked r=bz 2014-07-24 14:31:49 -04:00
Boris Zbarsky
20570bebfc Bug 957243. Fix test_bug602838.html to not assume server response ordering. r=mayhemer 2014-07-29 21:33:17 -04:00
Jeff Walden
0d66311e95 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
27103e6fd3 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
28d587703d Bug 1025933, support clientWidth, clientHeight, getBoundingClientRects etc for elements in shadow DOM, r=bz 2014-07-29 21:42:31 +03:00
Paul Adenot
34bfddd531 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
fa3dd7a74b 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