Commit Graph

33501 Commits

Author SHA1 Message Date
Paul Adenot
9edc44ff65 Bug 1060311 - Force the use of an AudioCallbackDriver when at least an AudioNodeStream is present in the graph. r=jesup
This prevent a bug where the graph would be using a SystemClockDriver even if it
was rendering Web Audio API content.

It went like this:
- An AudioContext was created.
- Some AudioNodeStream (Web Audio API MediaStreams) were created, but their
MediaStreamTrack was not added yet
- During the stream ordering, we would see that we were running an
AudioCallbackDriver (because the MSG was created using an AudioContext, and we
pass in hints regarding the type of MediaStreams that will be added in the
future, to open the audio stream as early as we can, because it can take some
time, the MSG was created directly using an AudioCallbackDriver)
- Also during the stream ordering, we see that none of our MediaStream have an
MediaStreamTrack with an audio track. This triggers a switch to a
SystemClockDriver, because the graph thinks there is no audio.
- During CreateAndDestroyAudioNode, we would not switch to an
AudioCallbackDriver on the first iteration (right after the UpdateStreamOrder
call), because we would be switching, and not during the iteration after,
because we thought we already switched (the first patch makes this more robust).

This basically forces an AudioCallbackDriver if there is an AudioNodeStream,
which prevents unnecessary GraphDriver switches (and save threads creation
destruction, audio stream create and destruction, and all other resources
associated with a GraphDriver).
2014-08-29 20:26:29 +02:00
Andrea Marchesini
eee60d5ec4 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Matthew A. Miller
b659301233 Bug 1056213 - Window title in "windows or screen to share" list is not updated when navigating to another page r=rjesup 2014-08-27 16:32:28 -06:00
Timothy Nikkel
ed38359aee Bug 1008942. When a network request for an image finishes during paint suppression and the image doesn't have a frame don't start a decode. r=mats
Either the image won't get a frame, or it will get a frame very soon and that frame will check its own visibility and kick off a decode if needed.
2014-06-25 23:45:08 -05:00
Daniel Holbert
c1ad232fef Bug 1056166 followup: move margin{SIDE} and textAlign atoms out of '#ifdef ACCESSIBILITY' section, to fix --disable-accessibility builds. r=ehsan 2014-08-31 00:56:26 -07:00
Randell Jesup
10774030a9 Backed out changeset ef2bf9308ed7 (bug 1056213) 2014-08-30 12:11:27 -04:00
Matthew A. Miller
f36ccb7397 Bug 1056213 - Window title in "windows or screen to share" list is not updated when navigating to another page r=rjesup 2014-08-27 16:32:28 -06:00
Tim Abraldes
ba6539ecd7 bug 1027906. Set delayed token level for GMP plugin processes to USER_RESTRICTED. Whitelist certain files and registry keys that are required for EME plugins to successfully load. r=bobowen. r=jesup. r=bent. 2014-08-29 17:34:26 -07:00
Tanvi Vyas
95718593db Bug 1058836 - Set aDecision parameter to block by default and update cases where it wasn't initially set in nsMixedContentBlocker.cpp. r=smaug 2014-08-29 12:57:08 -07:00
Ryan VanderMeulen
f4e712f3f6 Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Neil Rashbrook
a0446d2a55 Bug 1054289 Scroll to the current ref, not the original one r=smaug 2014-08-29 20:34:35 +01:00
Neil Rashbrook
1c56da8a40 Bug 1059707 Don't print a deprecation warning for theme XBL binding documents r=smaug 2014-08-29 20:33:16 +01:00
Ryan VanderMeulen
f9e1c75706 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Paul Adenot
a6a05ae91e Backed out changeset aaa4cf41cade (bug 1060311) on a CLOSED TREE 2014-08-29 18:25:35 +02:00
Paul Adenot
5d031aff93 Backed out changeset 36cedce0c8b3 (bug 1060311) 2014-08-29 18:23:12 +02:00
Carsten "Tomcat" Book
22a02d91d0 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
Paul Adenot
12585467d5 Bug 1060311 - Force the use of an AudioCallbackDriver when at least an AudioNodeStream is present in the graph. r=jesup
This prevent a bug where the graph would be using a SystemClockDriver even if it
was rendering Web Audio API content.

It went like this:
- An AudioContext was created.
- Some AudioNodeStream (Web Audio API MediaStreams) were created, but their
MediaStreamTrack was not added yet
- During the stream ordering, we would see that we were running an
AudioCallbackDriver (because the MSG was created using an AudioContext, and we
pass in hints regarding the type of MediaStreams that will be added in the
future, to open the audio stream as early as we can, because it can take some
time, the MSG was created directly using an AudioCallbackDriver)
- Also during the stream ordering, we see that none of our MediaStream have an
MediaStreamTrack with an audio track. This triggers a switch to a
SystemClockDriver, because the graph thinks there is no audio.
- During CreateAndDestroyAudioNode, we would not switch to an
AudioCallbackDriver on the first iteration (right after the UpdateStreamOrder
call), because we would be switching, and not during the iteration after,
because we thought we already switched (the first patch makes this more robust).

This basically forces an AudioCallbackDriver if there is an AudioNodeStream,
which prevents unnecessary GraphDriver switches (and save threads creation
destruction, audio stream create and destruction, and all other resources
associated with a GraphDriver).

--HG--
extra : rebase_source : 3c79c64a5dffee4c059d286125f0446c04a07a01
2014-08-29 15:18:03 +02:00
Paul Adenot
96b0bfded6 Bug 1060311 - Always use an AudioCallbackDriver when there is and AudioOutputStream. r=jesup
This makes the driver switching logic more robust against other bugs.

--HG--
extra : rebase_source : 556c2c80e1f5901b26f8bb56ea1cebfed3259412
2014-08-29 15:16:41 +02:00
JW Wang
effb885bd5 Bug 1059052 - centralize state transitions of MediaDecoderStateMachine. r=cpearce 2014-08-28 02:46:00 +02:00
John Lin
1462ca80fc Bug 968109 - Add test for recording audio node output. r=roc 2014-08-27 23:43:00 +02:00
John Lin
a445c99d14 Bug 968109 - Add new constructor to support recording from any web audio node. r=roc,smaug 2014-08-27 23:40:00 +02:00
Jean-Yves Avenard
49d16c2d1a Bug 1058422: Don't immediately request new data r=cajbir 2014-08-29 12:15:40 +12:00
Anthony Jones
1e9b0983f0 Bug 1057911 - Fix libav/ffmpeg drain; r=jya 2014-08-29 14:29:12 +12:00
Matthew Gregan
02b157a66c Bug 1059625 - Bustage fix. 2014-08-29 12:47:14 +12:00
Matthew Gregan
528c5d46d2 Bug 1044498 - Pass saved init segment to decoder's NotifyDataAvailable. r=cajbir 2014-08-27 18:15:36 +12:00
Matthew Gregan
e644765358 Bug 1059625 - Detach MediaSource upon decoder shutdown. r=cajbir 2014-08-28 15:44:58 +12:00
Matthew Gregan
4620d3ab6a Bug 1044498 - Create new decoder if non-consecutive non-overlapped appended occurs. r=cajbir 2014-08-27 16:43:25 +12:00
Matthew Gregan
8520a60601 Bug 1044498 - Improve calculation of init segment region. r=cajbir 2014-08-27 16:28:44 +12:00
Matthew Gregan
ce912cf477 Bug 1044498 - Return a null decoder when CreateSubDecoder is called in Shutdown state. r=cajbir 2014-08-27 12:45:05 +12:00
Matthew Gregan
b2a9bb102f Bug 1044498 - Fix a bunch of WebM buffered range bugs. r=cajbir 2014-08-26 18:23:02 +12:00
Matthew Gregan
66ed0a006b Bug 1044498 - Save init segment for reuse during overlapped appends. r=cajbir 2014-08-26 18:22:20 +12:00
Benjamin Chen
835169b7a8 Bug 1033910 - Enable RTSP capability while using android::MediaCodec. r=cpearce 2014-08-28 18:36:34 +08:00
Aryeh Gregor
4ba29d6526 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Matthew Gregan
e345463316 Bug 1044498 - Handle overlapped SourceBuffer appends by spinning up a new decoder. Only implemented for WebM so far. r=cajbir 2014-08-19 17:13:27 +12:00
Matthew Gregan
ac6e77eeba Bug 1059035 - Check IsAttached() before accessing mMediaSource in SourceBuffer::Remove. r=cajbir 2014-08-27 14:24:01 +12:00
Matthew Gregan
357b803b92 Bug 1058418 - Make SBR::GetNextCachedData return a sane value, add more unimplemented function logging in MSE, drop unused mPrincipal from SBR. r=cajbir 2014-08-25 18:05:48 +12:00
Fabrice Desré
4533961b74 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Fabrice Desré
3acf50131b Bug 1011738 - Theme support for b2g/gaia, Part 2 : stylesheet reloading r=bz,seth 2014-08-28 17:20:27 -07:00
Botond Ballo
a5db405d9f Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Timothy Nikkel
a62ab754b7 Bug 1051530. Update the nsImageLoadingContent state when we get a decode complete notification so that decode errors are recorded in our image state. r=bzbarsky
In nsImageLoadingContent whether a decode error put our image state into error depends on when the decode starts in relation to the network load event for the image. In nsImageLoadingContent::OnStopRequest if a decode has been started then we wait until the decode is complete to fire the load/error event. When we fire this event we also update the image state. However if a decode has not started by the time OnStopRequest runs, but a decode does happen later then when it completes nsImageLoadingContent::Notify does nothing, and our image state stays as non-error.
2014-08-28 13:43:21 -05:00
Paul Adenot
5a8c3cfd7a Bug 1059132 - Bustage fix: fix printf format. 2014-08-28 19:34:35 +02:00
Paul Adenot
98e21670d3 Bug 1059601 - Make sure we don't try to play audio with a system driver. r=jesup
--HG--
extra : rebase_source : 7142e0d9baf38491637d40d66375d92a0aaa9e9e
2014-08-27 19:13:15 +02:00
Paul Adenot
aff40f8800 Bug 1059132 - Log a message and continue when we found our clock went backward while using a system clock. r=jesup
--HG--
extra : rebase_source : d808c5f8f32dfa1746c9f0b19828dba9b8ecdc30
2014-08-27 11:48:27 +02:00
Paul Adenot
4de1a07547 Bug 909925 - Disable crashtest test 691096-1.html on windows. r=jesup
--HG--
extra : rebase_source : fed9ee61b50c411125714d5b68075d20b5adb699
2014-08-28 19:07:03 +02:00
Martijn Wargers
5a33dfdd37 Bug 1058451 - Intermittent test_CSP_bug885433.html | Inline script should be allowed - Result logged after SimpleTest.finish(). r=sstamm 2014-08-26 17:59:42 +02:00
Olli Pettay
8dfe1d7cf5 Bug 1059705 - revert the change which made nsIEditor builtinclass, r=masayuki 2014-08-28 17:33:35 +03:00
Tapas Das
7f6e43c8dc Bug 1048171 - Add variable to prevent the Audio Channel Toggle during Fast/Continous seek. r=baku 2014-08-28 04:07:00 -04:00
Gabor Krizsanits
839b3e4df8 Bug 1056841 - Always nulling mContainingShadow in Element::UnbindFromTree. r=wchen 2014-08-28 13:53:21 +02:00
Jean-Yves Avenard
298a741d8d Bug 1059569 - Check that GetTaskQueue() doesn't return NULL. r=cpearce 2014-08-28 11:56:32 +12:00
Chris Pearce
7db0e437f7 Bug 861090 - Create media.play-stand-alone pref to prevent loading videos as video documents. r=kinetik 2014-08-28 15:33:14 +12:00