Commit Graph

32959 Commits

Author SHA1 Message Date
JW Wang
c1d232a768 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
99e8a32fe4 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
5805e688a3 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
6624882c4b Bug 1046282 part 4: Make Create*Decoder functions return already_AddRefed. r=rillian 2014-07-30 18:40:21 -07:00
Daniel Holbert
686bdc6674 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
5f3d16188e Bug 1046282 part 2: Drop unnecessary else-after-return in EMEDecoderModule.cpp. r=rillian 2014-07-30 18:40:18 -07:00
Daniel Holbert
4ee09d7e76 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
3b0dff8155 (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
5ac6a9600f Bug 1044408: enable crashing all GMP plugins on a pref strobe r=cpearce,ted 2014-07-30 17:40:43 -04:00
Sid Stamm
3bed7b4d19 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
25bbfb5f71 Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
2252bd6c38 Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
407401e416 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
9e78e6d563 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-30 17:16:05 -04:00
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
Andrew McCreight
994541b02c Bug 1034909 - Remove dangerous public destructor of nsSVGViewBox. r=bjacob 2014-07-30 13:00:28 -07:00
Benoit Jacob
c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Daniel Holbert
ba6d68d105 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
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