Commit Graph

33516 Commits

Author SHA1 Message Date
Paul Adenot
a487cecd3f Bug 848954 - Part 22 - Port the osx panning code to live in the AudioCallbackDriver. r=jesup 2014-08-26 17:02:31 +02:00
Paul Adenot
2618f0a77f Bug 848954 - Part 21 - Fix sleep/wake up code for the MSG. r=roc 2014-08-26 17:02:30 +02:00
Paul Adenot
a3533d7c93 Bug 848954 - Part 20 - Remove the now useless DriverHolder class. r=roc 2014-08-26 17:02:28 +02:00
Paul Adenot
633b616eea Bug 848954 - Part 19 - Delete the mixer callbacks on removal. r=roc 2014-08-26 17:02:09 +02:00
Paul Adenot
86c51354d2 Bug 848954 - Part 18 - Start the thread after having processed the messages to make sure there are messages in the queue when processing starts. r=roc 2014-08-26 17:02:09 +02:00
Paul Adenot
2dc4962f29 Bug 848954 - Part 16 - Make AudioCallbackDriver respect the AudioChannelType. r=roc 2014-08-26 17:02:08 +02:00
Paul Adenot
4dffa09424 Bug 848954 - Part 15 - Allow an AudioCallbackDriver to sleep to save power. r=roc 2014-08-26 17:02:08 +02:00
Paul Adenot
a61c50b315 Bug 848954 - Part 14 - Run all blocking cubeb operations off-main-thread. r=roc 2014-08-26 17:02:07 +02:00
Paul Adenot
d73a6771b0 Bug 848954 - Part 13 - Add an RAII class to ensure another thread is not in the audio callback when shutting down. r=roc 2014-08-26 17:01:35 +02:00
Paul Adenot
94dff88eb5 Bug 848954 - Part 11 - When deciding to block a MediaStream due to a speculative data underrun, don't block if we have exactly the right number of frames buffered. r=roc 2014-08-26 17:01:35 +02:00
Paul Adenot
d410cae05a Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
Paul Adenot
64e239b778 Bug 848954 - Part 9 - Allow to pass in hints when getting a reference to a MediaStreamGraph to get the right driver started as soon as possible. r=roc
This is useful because some platform have rather slow audio stream
initialization time, especially the first time an audio stream is created for
the process.

We put in telemetry probes to measure that:
First stream opened for the process:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_FIRST_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph

Subsequent streams:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_LATER_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph
2014-08-25 15:27:25 +02:00
Paul Adenot
499c632d13 Bug 848954 - Part 8 - Implement classes to ensure safe audio buffer manipulation. r=roc 2014-08-25 15:26:34 +02:00
Paul Adenot
5856b1e3a4 Bug 848954 - Part 7 - Get rid of the stack allocated message queue. r=roc
In the next patches, when the AudioDriver will be implemented, the audio backend
thread (that we don't control), will return from the stack frame where the
nsTArray that allows the MSG thread to exchange message queues in a efficient
manner with the main thread. We put it in the MediaStreamGraph to avoid adding
an allocation/deallocation per iteration on the MSG thread.

In addition, the graph will be able to run on different threads during its
lifetime, so we can't guarantee a stable stack frame to allocate things on
anymore.

The array are renamed with meaningful names, explaining the double-buffering
pattern: the back queue is filled by the main thread, and is swapped with the
front queue that is processed by the MSG thread.

Arrays accesses are synchronized using the driver's monitor.
2014-08-25 15:26:21 +02:00
Paul Adenot
bf1afe6d99 Bug 848954 - Part 6 - Put cubeb-related static functions in their own file. r=kinetik 2014-08-25 15:26:09 +02:00
Paul Adenot
735258f143 Bug 848954 - Part 5 - Mix down all audio and only output a single stream. r=roc 2014-08-25 15:25:49 +02:00
Paul Adenot
7e987d0735 Bug 848954 - Part 4 - Factor behavior for drivers that manage their thread. r=roc 2014-04-25 18:04:53 +02:00
Paul Adenot
f6e2e2b753 Bug 848954 - Part 3 - Separate interval time calculation and actual processing, and give an audio-callback compatible interface to the Process function. r=roc 2014-04-25 18:04:23 +02:00
Paul Adenot
abc95a4adc Bug 848954 - Part 2 - Put the thread management in the driver. r=roc 2014-04-25 18:03:04 +02:00
Paul Adenot
f4c5b13dbd Bug 848954 - Part 1 - Factor out clocks and scheduling of MSG iterations. r=roc 2014-04-25 16:09:30 +02:00
Paul Adenot
6010fdc4cd Bug 989921 - Allow the MediaStreamGraph mixer to send data back to multiple consumers. r=jesup 2014-08-25 14:13:08 +02:00
William Chen
79093724dc Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Nicholas Nethercote
df1c26a45e Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Jean-Yves Avenard
7d82bae00d Bug 1058428 - Ensure all in-use decoders contain the target range - r=cajbir 2014-08-27 14:08:33 +12:00
Matthew Gregan
069cc7f6c4 Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-27 13:51:40 +12:00
Wes Kocher
4cd0da25ab Merge m-c to inbound a=merge 2014-08-26 18:19:08 -07:00
Chris Double
6a88105e74 Bug 1058549 - Implement SourceBufferDecoder::GetEndMediaTime - r=kinetik 2014-08-27 11:45:48 +12:00
Ralph Giles
df5cd34a6e Bug 1058400 - Fix AppleCMLinker assertion. r=cpearce
We call Unlink() from the failure cleanup code in Link() when
the dlopen call fails, so it's incorrect to assert that sLink
is non-null. We've already incremented the refcount, so that
check is fine.
2014-08-26 13:26:00 -07:00
Ralph Giles
b50a25ed3d Bug 1058399 - Fix VideoData leak on osx fmp4 seek. r=cpearce
Calling Clear() on the reorder queue doesn't call delete on
the stored pointer elements. Do this explicitly to avoid leaking
decoded frames when ::Flush() is called.
2014-08-26 14:22:00 -07:00
Matt Woodrow
db134e8fe5 Bug 936690 - Remove nsIContentView and nsIContentViewManager. r=roc 2014-08-27 10:56:24 +12:00
Ting-Yu Chou
1e4229ad97 Bug 1057065 - Remove obsolete code causes extra preallocated process to complement the patch of bug 1033618. r=khuey
--HG--
extra : rebase_source : 243e1288e44bd1d6560bdf8de479af0f9888f95e
2014-08-26 10:22:21 +08:00
JW Wang
df65a5a044 Bug 1054831 - Improve state transition about decoding metadata by removing |mDispatchedDecodeMetadataTask|. r=cpearce
--HG--
extra : rebase_source : 23e040a5d35954e10f65029f5550e4440aeb4117
2014-08-20 23:37:00 -04:00
Kearwood (Kip) Gilbert
9edca3c9e4 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.

--HG--
extra : rebase_source : 7c9ce94d09fed5c4aea63442d683876c0a9a2e50
2014-08-05 15:01:34 -07:00
Kearwood (Kip) Gilbert
351eec0b98 Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.

--HG--
extra : rebase_source : db617cb63780e039ad69e4ed100c13042c676949
2014-08-05 15:01:32 -07:00
Wes Kocher
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Benjamin Chen
cce12ee77d Bug 1050664 - 1. Fix IsDormantNeeded() function. 2. Invoke mSource->stop at the suspend code path that will rewind the sampletable implicitly. r=cpearce 2014-08-26 16:17:08 +08:00
Chris Double
43a9f89ea6 Bug 1041374 - Fix deadlock in MSE reading vs data adding - r=kinetik 2014-08-26 19:26:03 +12:00
Chris Double
6f9cde4d22 Bug 1058364 - MediaSource streams don't correctly handle the end of sub decoders - r=kinetik 2014-08-26 19:25:09 +12:00
Anthony Jones
6a8b1c9fef Bug 1057203 - Parse timestamps for MP4 fragments; r=kinetik 2014-08-26 16:53:50 +12:00
Anthony Jones
b5c59c078b Bug 1057203 - Remove MoofParser dependency on stagefright; r=edwin 2014-08-26 16:53:48 +12:00
Randell Jesup
f9ab847e99 Bug 1032839: Backend support for PeerConnection ReplaceTrack() r=padenot,jib 2014-08-25 21:20:44 -04:00
Johnny Stenback
ee06071a0f Bug 798188. Use NS_WRAPPERCACHE_INTERFACE_TABLE_ENTRY in table based QI implementations. r=peterv
---
 content/base/src/Attr.cpp                                  | 2 +-
 content/base/src/DOMRect.cpp                               | 2 +-
 content/base/src/FragmentOrElement.cpp                     | 2 +-
 content/base/src/nsContentList.cpp                         | 2 +-
 content/base/src/nsDOMAttributeMap.cpp                     | 2 +-
 content/base/src/nsDocument.cpp                            | 2 +-
 content/html/content/src/HTMLFormControlsCollection.cpp    | 2 +-
 content/html/content/src/HTMLOptionsCollection.cpp         | 2 +-
 content/html/content/src/HTMLPropertiesCollection.cpp      | 4 ++--
 content/html/content/src/HTMLTableElement.cpp              | 2 +-
 content/media/webspeech/synth/SpeechSynthesisUtterance.cpp | 1 -
 dom/events/PaintRequest.cpp                                | 2 +-
 dom/xbl/XBLChildrenElement.cpp                             | 2 +-
 13 files changed, 13 insertions(+), 14 deletions(-)
2014-08-25 16:21:35 -07:00
Ralph Giles
f62b87692b Bug 1057877 - Account for fmp4 not working on MacOS X 10.6. r=cpearce
Consolidate the various fmp4-related checks in their own function;
the ad hoc logic was getting complicated and we'll want to add
more such checks as we enable more platforms.
2014-08-25 13:48:00 -07:00
L. David Baron
c1d3740db7 Bug 839812 - Add clip-path style for fullscreen override, which was probably originally intended ("SVG masking, clipping, or filtering"). r=dholbert 2014-08-25 15:32:03 -07:00
Wes Kocher
e2de5d0275 Backed out changeset 59f193167901 (bug 1049758) for build bustage on a CLOSED TREE 2014-08-25 14:26:12 -07:00
Trevor Saunders
e96abc463e bug 1049758 - fixup copy and move ctors for children iterators r=wchen 2014-08-06 14:21:28 -04:00
Ryan VanderMeulen
f290da4831 Merge m-c to inbound. a=merge 2014-08-25 16:28:25 -04:00
Ryan VanderMeulen
8683265d27 Merge inbound to m-c. a=merge 2014-08-25 16:15:23 -04:00
Ryan VanderMeulen
67f8f5b10e Merge b2g-inbound to m-c. a=merge 2014-08-25 16:13:21 -04:00
Steven Michaud
dfc4c053b1 Bug 1056936 - Specify full path to plugin-container in sandbox rules. r=rjesup 2014-08-25 15:01:04 -05:00
Ryan VanderMeulen
65ac61e6af Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-08-25 13:07:41 -04:00
Ryan VanderMeulen
e1772e9f6b Merge m-c to fx-team. a=merge
CLOSED TREE
2014-08-25 12:54:46 -04:00
Ryan VanderMeulen
81342753e0 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Ryan VanderMeulen
e29307ef98 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-25 12:51:20 -04:00
Qeole
45d26eb52c Bug 1045209 - Remove media.gmp-gmpopenh264.path pref and set install path for OpenH264 plugin to <profile-dir>/<gmp-plugin-id>/<version>. r=unfocused,jesup
Certain usage scenarios, like enterprise roaming profile setups, lead to the installed OpenH264 plugin not being found anymore.
We install the plugin into the profile directory, so the fix here is to just store the install path relative the profile and not an absolute path.
We also now store the plugin in a version-specific subdirectory, which avoids further issues like e.g. Windows preventing updates due to locking loaded DLLs.
2014-08-25 17:23:34 +02:00
Andrea Marchesini
2076b14085 Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
Daniel Holbert
52d061077a Bug 1055977 part 2: Add mochitest to verify that ancestors of a fullscreen element are fixed at the initial values of any properties that can create stacking contexts. r=cpearce
--HG--
rename : content/html/content/test/file_fullscreen-hidden.html => content/html/content/test/file_fullscreen-ancestor-stacking-context.html
2014-08-24 22:11:17 -07:00
Sotaro Ikeda
e49b1d978d Bug 1055991 - Eeach OMXCodec uses each OMXClient r=cajbir 2014-08-25 06:36:07 -07:00
Georgios Kontaxis
d6ca4b7a06 Bug 1043803: checkIdentity following onSecurityChange now shows doorhanger on STATE_LOADED_MIXED_ACTIVE_CONTENT. Doorhanger now acknowledges this new state. r=adw 2014-08-22 20:26:03 -07:00
Georgios Kontaxis
529502822e Bug 1043797: extended popup notifications to create a generic doorhanger for all security notifications incl. mixed content r=adw
--HG--
rename : browser/themes/linux/mixed-content-blocked-16.png => browser/themes/linux/bad-content-blocked-16.png
rename : browser/themes/linux/mixed-content-blocked-64.png => browser/themes/linux/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-16.png => browser/themes/osx/bad-content-blocked-16.png
rename : browser/themes/osx/mixed-content-blocked-16@2x.png => browser/themes/osx/bad-content-blocked-16@2x.png
rename : browser/themes/osx/mixed-content-blocked-64.png => browser/themes/osx/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-64@2x.png => browser/themes/osx/bad-content-blocked-64@2x.png
rename : browser/themes/windows/mixed-content-blocked-16.png => browser/themes/windows/bad-content-blocked-16.png
rename : browser/themes/windows/mixed-content-blocked-64.png => browser/themes/windows/bad-content-blocked-64.png
2014-08-22 15:34:25 -07:00
JW Wang
7a1eb3c738 Bug 1050947 - AudioStream::Pause() should do nothing when |mState| is ERRORED. r=kinetik 2014-08-22 02:36:00 -04:00
Wes Kocher
c725a726be Merge inbound to m-c a=merge 2014-08-22 16:47:32 -07:00
Botond Ballo
a5100b1cac Bug 1053975 - Take device scale into account when calculating default viewport size. r=kats,mbrubeck 2014-08-15 11:58:03 -04:00
Ted Clancy (:tedders1)
208aa7f675 Bug 1055427 - Add KillChild() method to nsIMessageManager. r=sicking
Patch originally from bug 1000313.
2014-08-12 08:59:47 -04:00
Birunthan Mohanathas
77bfad00a6 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
C.J. Ku
8b5a1dfe38 Bug 974242 - Bring FullZoom into nsDocument::GetViewportInfo. r=mbrubeck, r=kats
--HG--
extra : rebase_source : 4fd84defb47c9eb5bcea849fde61e6e09dc5e9a3
2014-08-10 02:50:07 +08:00
Christoph Kerschbaumer
d9219d706a Bug 1049289 - CSP: Test that fragments are stripped in csp-reports (r=sstamm) 2014-08-07 12:51:50 -07:00
Christoph Kerschbaumer
240a361c70 Bug 1049289 - CSP: Strip uri fragments before sending csp-reports (r=sstamm) 2014-08-05 16:12:16 -07:00
Christoph Kerschbaumer
ce11d17474 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Steven Michaud
933391c696 Bug 1055308 - GMP Fake plugin keeps crashing in mochitests. r=rjesup 2014-08-21 13:23:02 -05:00
Ehsan Akhgari
feb900f72c Bug 1056460 - Move AudioEventTimeline.h to webaudio; r=roc
--HG--
rename : content/media/AudioEventTimeline.h => content/media/webaudio/AudioEventTimeline.h
2014-08-21 10:54:03 -04:00
Julian Seward
ad864791fd Bug 1055838 - MediaEngineDefaultVideoSource::MediaEngineDefaultVideoSource fails to initialise mCb, mCr. r=tterribe. 2014-08-21 16:26:33 +02:00
JW Wang
5db5af6491 Bug 1054829 - Add debugging logs to MediaDecoder. r=cpearce 2014-08-20 20:13:00 -04:00
Blake Wu
332b9df7e2 Bug 1049325 - Part 2: Notify MediaCodec input EOS and report EOS when getting the last frame. r=edwin 2014-08-21 14:22:39 +08:00
Blake Wu
88bb55ef9f Bug 1049325 - Part 1: Notify decoder for input EOS and report MP4Reader when output EOS is reached. r=cpearce 2014-08-21 14:22:25 +08:00
JW Wang
40cd8eafa2 Bug 832768 - Add logs to debug DirectShowReader::ReadMetadata() failures. r=cpearce 2014-08-24 20:54:00 -04:00
Carsten "Tomcat" Book
1013e0722d Backed out changeset 7a3ee3395e46 (bug 1055427) for wrong commit message 2014-08-25 14:52:11 +02:00
Ted Clancy
4b4225411e Date: Tue Aug 12 08:59:47 2014 -0400
Bug 1055427 - Part 1: Adding KillChild() method to nsIMessageManager. r=sicking
2014-08-23 14:21:00 +02:00
Robert O'Callahan
43fa3946ce Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Ryan VanderMeulen
0b6826aac5 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
d82cede239 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Chris Pearce
be16c7d14b Bug 1057201 - Don't dispatch to the MP4Reader's decode task queue to update buffered index, as that confuses the MediaDataDecoders. r=kentuckyfriedtakahe 2014-08-22 18:28:06 +12:00
Ralph Giles
7eaae1d4be Bug 1057110 - Don't log h.264 sample sha1 by default. r=cpearce
This was useful for comparing input between different demuxers
but isn't really necessary now that things are running. Can be
removed when things are more stable.
2014-08-21 16:21:00 -07:00
Ralph Giles
765b1012ad Bug 1057110 - Add separate PRLogModule for AppleDecoderModule. r=cpearce
The apple media decoders are quite noisy. Switching them to their
own "AppleMedia" log module simplifies the output when debugging
demuxer-specific issues.
2014-08-21 16:20:00 -07:00
Matthew Gregan
31342c931e Bug 1056537 - Bustage fix: move DecodeToFirstVideoData back to MediaDecoderReader for now. r=UNDISCLOSED TREETOPS 2014-08-22 15:11:58 +12:00
Matthew Gregan
ac394eccf2 Bug 1056537 - Move MediaDecoderReader::FindStartTime down to only remaining user, OggReader. r=cpearce 2014-08-21 01:16:00 +12:00
Matthew Gregan
1db9ea982a Bug 1056534 - Add logging to stubbed out member functions to speed up debugging. r=cajbir
--HG--
rename : content/media/mediasource/SubBufferDecoder.cpp => content/media/mediasource/SourceBufferDecoder.cpp
rename : content/media/mediasource/SubBufferDecoder.h => content/media/mediasource/SourceBufferDecoder.h
rename : content/media/BufferDecoder.cpp => content/media/webaudio/BufferDecoder.cpp
rename : content/media/BufferDecoder.h => content/media/webaudio/BufferDecoder.h
2014-08-22 14:14:36 +12:00
Chris Pearce
53a822ef94 Bug 1055974 - Enable MP3 decoding in WMF PDM. r=padenot 2014-08-22 13:37:57 +12:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
c2d79a26ff Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Bobby Holley
e9fb2caf27 Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Ryan VanderMeulen
ddfaced990 Bug 906752 - Disable test_audioBufferSourceNodeOffset.html on debug builds. a=test-only 2014-08-21 13:34:19 -04:00
Nathan Froyd
a088ec81d5 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Nathan Froyd
36f456593a Bug 1055114 - convert GMPVideo{Encoder,Decoder} methods to take UniquePtr arguments where appropriate; r=cpearce 2014-08-18 13:11:11 -04:00
Paul Adenot
ea2808de47 Bug 1056032 - Put the test disabling in the right file. 2014-08-21 13:49:54 +02:00
Paul Adenot
af6bd3a2c3 Bug 1056032 - Test that we can decode an mp3 using decodeAudioData. r=ehsan
--HG--
rename : content/media/test/small-shot.mp3 => content/media/webaudio/test/small-shot.mp3
2014-08-20 17:23:24 -04:00
Paul Adenot
3177326fa1 Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
Matthew Gregan
7b785ec741 Bug 1056455 - Move ResourceQueue to a separate header. r=cajbir 2014-08-20 20:14:00 +12:00
Matthew Gregan
358af04c61 Bug 1056452 - Make MediaSource::GetBuffered more readable w.r.t the spec. Improve logging of TimeRanges. r=cajbir 2014-08-20 20:07:00 +12:00
Chris Pearce
909328d103 Bug 1055907 - Delete output sent to MP4Reader while it's flushing, prevents leaks. r=kentuckyfriedtakahe 2014-08-21 16:10:57 +12:00
Chris Pearce
4576b4e87f Bug 1055907 - Ensure HasAudio() works earlier in MP4Reader::ReadMetadata(). r=kentuckyfriedtakahe 2014-08-21 16:10:34 +12:00
Chris Pearce
4a69989063 Bug 1054824 - Detect GMP death in EMEDecryptors. r=edwin 2014-08-21 16:10:11 +12:00
Matthew Gregan
4c8e2f8646 Bug 1055899 - Handle audio decoder resets from a SourceBuffer by switching to the new decoder. r=cajbir 2014-08-21 15:14:48 +12:00
Matthew Gregan
fec10283e4 Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-20 01:13:00 +12:00
Matthew Gregan
67a276ab9f Bug 1055967 - Fix logging in AudioSink. r=cpearce 2014-08-20 01:12:00 +12:00
Ralph Giles
fa812dc154 Bug 1056408 - Flush local task queues in AppleDecoderModule. r=cpearce
We could still have data pending submission on the local task queue
which would be submitted after we were supposed to have flushed.
2014-08-20 16:38:00 -07:00
Bobby Holley
aeed365b08 Bug 1056271 - Switch to GetEntryGlobal in DOMParser::Init. r=smaug 2014-08-20 17:45:04 -07:00
Ralph Giles
6906403c04 Bug 1056371 - Fix AppleATDecoder dtor counting. r=cpearce
Typo affecting leak detection.
2014-08-20 15:28:00 -07:00
Wes Kocher
b0307a3784 Backed out 2 changesets (bug 1056032) for bustage
Backed out changeset 18b0e0c795d4 (bug 1056032)
Backed out changeset 15caaf563783 (bug 1056032)
2014-08-20 15:30:23 -07:00
Ralph Giles
cd407de8d0 Bug 1056232 - Expect fmp4 pref in canPlayType. r=cpearce
The media.fragmented-mp4.exposed pref affects the support status
of video/mp4 reported by canPlayType. Take this into account
in the mochitest.
2014-08-20 11:06:00 -07:00
Ralph Giles
6855ed43dd Bug 1056288 - Remove unused OggPacketQueue::PushBack. r=cpearce 2014-08-20 13:27:00 -07:00
Nathan Froyd
2faebf4212 Bug 1056288 - Fix thinko in OggPacketQueue. r=cpearce. 2014-08-20 12:44:00 -07:00
Paul Adenot
78eba23820 Bug 1056032 - Test that we can decode an mp3 using decodeAudioData. r=ehsan
--HG--
rename : content/media/test/small-shot.mp3 => content/media/webaudio/test/small-shot.mp3
2014-08-20 17:23:24 -04:00
Paul Adenot
44d5b51305 Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
Ryan VanderMeulen
baca1ac7b9 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
556b135ea8 Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Roberto A. Vitillo
3eb77a08ed Bug 559505 - Deprecate localstore.rdf and replace it with xulstore. r=enn, sr=bsmedberg
CLOSED TREE
2014-08-19 10:31:00 -04:00
Ed Morley
aae02d523c Merge mozilla-central and fx-team 2014-08-20 15:18:31 +01:00
Ed Morley
acd103862f Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-20 14:46:55 +01:00
Mike Conley
36148f8108 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Ryan VanderMeulen
c6e10de0e1 Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
eabd72e065 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Ehsan Akhgari
662027abfa Bug 1055511 - Add a test case for ScriptProcessorNode.passThrough; r=roc 2014-08-20 00:57:37 -04:00
Ehsan Akhgari
c689dbd103 Bug 1055367 - Move the code for AudioNodeStream and AudioNodeEngine to webaudio; r=roc
This code is specific to Web Audio, and is not really part of the
MediaStreamGraph code.  I've always hated how these files being in
two directories gets in the way while hacking on this code.

--HG--
rename : content/media/AudioNodeEngine.cpp => content/media/webaudio/AudioNodeEngine.cpp
rename : content/media/AudioNodeEngine.h => content/media/webaudio/AudioNodeEngine.h
rename : content/media/AudioNodeEngineNEON.cpp => content/media/webaudio/AudioNodeEngineNEON.cpp
rename : content/media/AudioNodeEngineNEON.h => content/media/webaudio/AudioNodeEngineNEON.h
rename : content/media/AudioNodeExternalInputStream.cpp => content/media/webaudio/AudioNodeExternalInputStream.cpp
rename : content/media/AudioNodeExternalInputStream.h => content/media/webaudio/AudioNodeExternalInputStream.h
rename : content/media/AudioNodeStream.cpp => content/media/webaudio/AudioNodeStream.cpp
rename : content/media/AudioNodeStream.h => content/media/webaudio/AudioNodeStream.h
2014-08-20 00:56:31 -04:00
Nigel Babu
493e418c84 Backed out changeset 55ea2c2fb857 (bug 1034368) for bustage 2014-08-19 12:07:01 +05:30
Nigel Babu
2f0df889d5 Backed out changeset 3b0d1e17cad0 (bug 1055408) for bustage 2014-08-19 12:06:42 +05:30
Chris Pearce
b0a8524ff0 Bug 1055408 - Kill GMP timers when entering shutdown. r=jesup 2014-08-19 17:03:11 +12:00
Chris Pearce
f511aad305 Bug 1034368 - Add storage capabilities to GMPs. r=jesup 2014-08-19 17:03:04 +12:00
Anthony Jones
2acb0169a4 Bug 1054153 - Fix MP4 demuxer is init vs buffered range race; r=edwin 2014-08-19 14:13:56 +12:00
Anthony Jones
09a1c22d2a Bug 1049133 - Calculate eviction offset for MP4 instead of guessing; r=kinetik,edwin 2014-08-19 14:13:55 +12:00
Lynn Tran
7bec1a6b6d Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Ehsan Akhgari
aa072a423f Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru
--HG--
rename : editor/libeditor/text/crashtests/403965-1.xhtml => editor/libeditor/crashtests/403965-1.xhtml
rename : editor/libeditor/text/crashtests/580151-1.xhtml => editor/libeditor/crashtests/580151-1.xhtml
rename : editor/libeditor/text/nsInternetCiter.cpp => editor/libeditor/nsInternetCiter.cpp
rename : editor/libeditor/text/nsInternetCiter.h => editor/libeditor/nsInternetCiter.h
rename : editor/libeditor/text/nsPlaintextDataTransfer.cpp => editor/libeditor/nsPlaintextDataTransfer.cpp
rename : editor/libeditor/text/nsPlaintextEditor.cpp => editor/libeditor/nsPlaintextEditor.cpp
rename : editor/libeditor/text/nsPlaintextEditor.h => editor/libeditor/nsPlaintextEditor.h
rename : editor/libeditor/text/nsTextEditRules.cpp => editor/libeditor/nsTextEditRules.cpp
rename : editor/libeditor/text/nsTextEditRules.h => editor/libeditor/nsTextEditRules.h
rename : editor/libeditor/text/nsTextEditRulesBidi.cpp => editor/libeditor/nsTextEditRulesBidi.cpp
rename : editor/libeditor/text/nsTextEditUtils.cpp => editor/libeditor/nsTextEditUtils.cpp
rename : editor/libeditor/text/nsTextEditUtils.h => editor/libeditor/nsTextEditUtils.h
rename : editor/libeditor/text/tests/test_bug1026397.html => editor/libeditor/tests/test_bug1026397.html
rename : editor/libeditor/text/tests/test_bug318065.html => editor/libeditor/tests/test_bug318065.html
rename : editor/libeditor/text/tests/test_bug471319.html => editor/libeditor/tests/test_bug471319.html
rename : editor/libeditor/text/tests/test_bug471722.html => editor/libeditor/tests/test_bug471722.html
rename : editor/libeditor/text/tests/test_bug483651.html => editor/libeditor/tests/test_bug483651.html
rename : editor/libeditor/text/tests/test_bug527935.html => editor/libeditor/tests/test_bug527935.html
rename : editor/libeditor/text/tests/test_bug569988.html => editor/libeditor/tests/test_bug569988.html
rename : editor/libeditor/text/tests/test_bug590554.html => editor/libeditor/tests/test_bug590554.html
rename : editor/libeditor/text/tests/test_bug596001.html => editor/libeditor/tests/test_bug596001.html
rename : editor/libeditor/text/tests/test_bug596333.html => editor/libeditor/tests/test_bug596333.html
rename : editor/libeditor/text/tests/test_bug596506.html => editor/libeditor/tests/test_bug596506.html
rename : editor/libeditor/text/tests/test_bug597331.html => editor/libeditor/tests/test_bug597331.html
rename : editor/libeditor/text/tests/test_bug600570.html => editor/libeditor/tests/test_bug600570.html
rename : editor/libeditor/text/tests/test_bug602130.html => editor/libeditor/tests/test_bug602130.html
rename : editor/libeditor/text/tests/test_bug603556.html => editor/libeditor/tests/test_bug603556.html
rename : editor/libeditor/text/tests/test_bug604532.html => editor/libeditor/tests/test_bug604532.html
rename : editor/libeditor/text/tests/test_bug625452.html => editor/libeditor/tests/test_bug625452.html
rename : editor/libeditor/text/tests/test_bug629172.html => editor/libeditor/tests/test_bug629172.html
rename : editor/libeditor/text/tests/test_bug636465.xul => editor/libeditor/tests/test_bug636465.xul
rename : editor/libeditor/text/tests/test_bug638596.html => editor/libeditor/tests/test_bug638596.html
rename : editor/libeditor/text/tests/test_bug641466.html => editor/libeditor/tests/test_bug641466.html
rename : editor/libeditor/text/tests/test_bug645914.html => editor/libeditor/tests/test_bug645914.html
rename : editor/libeditor/text/tests/test_bug681229.html => editor/libeditor/tests/test_bug681229.html
rename : editor/libeditor/text/tests/test_bug692520.html => editor/libeditor/tests/test_bug692520.html
rename : editor/libeditor/text/tests/test_bug740784.html => editor/libeditor/tests/test_bug740784.html
rename : editor/libeditor/text/tests/test_bug757771.html => editor/libeditor/tests/test_bug757771.html
rename : editor/libeditor/text/tests/test_bug830600.html => editor/libeditor/tests/test_bug830600.html
rename : editor/libeditor/text/tests/test_dom_input_event_on_texteditor.html => editor/libeditor/tests/test_dom_input_event_on_texteditor.html
rename : editor/libeditor/text/tests/test_texteditor_keyevent_handling.html => editor/libeditor/tests/test_texteditor_keyevent_handling.html
2014-08-18 20:59:37 -04:00
Ehsan Akhgari
42de58dbf7 Bug 1007778 - Add a devtools API to make some Web Audio nodes pass through their inputs; r=roc,smaug 2014-08-18 20:12:50 -04:00
Vasanthakumar Pandurangan
3898f15d2e Bug 1053186 - AudioOffloadPlayer: Avoid glitch during start of playback. r=roc 2014-08-18 05:49:51 -07:00
Guilherme Goncalves
d59255b1c1 Bug 1052775 - Abort speech recognition after test_call_start_from_end_handler. r=smaug 2014-08-18 10:25:00 -04:00
Matthew Gregan
46d2b153e2 Bug 1055407 - Accumlate SBR length rather than recomputing on each call. r=cajbir 2014-08-18 21:17:00 +12:00
Matthew Gregan
224c97f923 Bug 1050652 - WebM cluster offset calculation accounted for size of ID incorrectly. r=cajbir 2014-08-18 21:13:00 +12:00
Bill McCloskey
fb22428ced Bug 1050360 - Fix script blocker warning (r=smaug) 2014-08-19 17:24:55 -07:00
Benjamin Smedberg
b7f4211b2c Bug 1054965 - initialize the crash reporter correctly in GMP children; reorder the init method so that mac doesn't early-return it away, r=smichaud
--HG--
extra : rebase_source : 7accc05d988ee8d5b6101c012f2d4e23fa631d75
2014-08-19 15:22:16 -04:00
Ryan VanderMeulen
8df0faf2d0 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Botond Ballo
ffebd18f0b Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Martijn Wargers
3f410e2286 Bug 1024535 - Fix for failing video test on Windows 7. r=jwwang 2014-08-12 16:09:56 -07:00
Junior Hsu
7d22538f76 Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
7b304a0c41 Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
f060d6c933 Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
fb08385bdd Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Benjamin Chen
ea17f17eb2 Bug 1047022 - Remove manual addref for Session object. Let MediaRecorder hold reference to Session that makes a cycle reference, break it in DestrotedRunnable(). r=roc 2014-08-18 11:42:49 +08:00
Kyle Machulis
87f13ebd35 Bug 1055898 - Readd include of nsIContent.h to nsINodeList.h; r=bz 2014-08-19 19:32:25 -07:00
Ehsan Akhgari
93ef504483 Bug 1055512 - Actually input a stereo buffer into the ScriptProcessorNode in the test case for that node; r=padenot 2014-08-19 15:10:54 -04:00
Bobby Holley
993920dcec Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug 2014-08-19 12:02:06 -07:00