Commit Graph

31621 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
f4336f1541 Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
59feac455c Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Paul Adenot
aa81ed9e24 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
Robert O'Callahan
c14cfbf44f Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
Robert O'Callahan
72885c0876 Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size.
This ensures a test can make such a request, receive the event that the
load has been suspended, and cancel the request, all before the load has
completed.

--HG--
extra : rebase_source : c7ea934a1745004872d8529bb99241e2e376759c
2014-03-11 17:30:27 +08:00
Robert O'Callahan
38c751230b Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.

We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.

--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
John
356b84852a Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Ben Turner
812e72e3e9 Bug 999742, Split Blob<> into BlobParent/BlobChild. rs=sicking.
--HG--
extra : transplant_source : %F6%EF%8D%0C%0E%0B7%EFm%7F%15%83%D5%82%19T%BF-%3C%98
2014-04-23 21:43:57 -07:00
Wes Kocher
50c5a26e84 Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE
Backed out changeset 83f7aec5a083 (bug 970691)
Backed out changeset 94348d189ed5 (bug 970691)
2014-04-23 18:26:05 -07:00
Ehsan Akhgari
2ecbad7b1c Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Paul Kerr [:pkerr]
7db94a6847 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Henri Sivonen
fcb1c588ef Bug 999349 - Add "DO NOT USE" annotation to nsIPlatformCharset. r=emk 2014-04-22 12:35:44 +03:00
Carsten "Tomcat" Book
bf96d695e0 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Carsten "Tomcat" Book
ee46905ec0 merge b2g-inbound to mozilla-central 2014-04-23 14:58:05 +02:00
Ehsan Akhgari
6eeb144cc5 Bug 999908 - Remove support for the Web Audio legacy prefs for AudioBufferSourceNode, AudioContext, and AudioParam; r=padenot 2014-04-23 08:56:42 -04:00
JW Wang
5bfcd08a49 Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
ad59de6573 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
Carsten "Tomcat" Book
47979f8e8f Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
1cb73ec373 Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
Sotaro Ikeda
decd53822e Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
2ce5fd2459 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
857419fd92 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
7e12aa6d98 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
e4daf0a0d5 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
a39021aa83 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Bobby Holley
9766fa5987 Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Jefry Lagrange
3b76d91c36 Bug 939323 - Warn about XMLHttpRequest sendAsBinary usage. r=smaug 2014-04-22 13:59:39 -07:00
Ethan Tseng
f2d1f8c08a Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Martin Thomson
00ed9d62ef Bug 907770 - Part 2: Test changes for https support on b2g/android. r=jmaher 2014-03-14 11:25:48 -07:00
Ryan VanderMeulen
e2cbddca2e Merge m-c to inbound. 2014-04-22 13:07:17 -07:00
Ethan Tseng
2ea30d25e4 Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
059cac0e12 Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
79fabcdae3 Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
851264dc76 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Dan Glastonbury
c0332f9eca Bug 990851 - Fix TexSubImage with cubemap face failure. r=jgilbert 2014-04-22 14:09:33 +10:00
Kearwood (Kip) Gilbert
f93f959d88 Bug 991545 - Update SVGTransformableElement::GetAttributeChangeHint to use nsChangeHint_UpdatePostTransformOverflow. r=longsonr
- When only the transform is changed,
  SVGTransformableElement::GetAttributeChangeHint returns
  nsChangeHint_UpdatePostTransformOverflow to avoid extraneous calls to
  UpdateOverflow in OverflowChangedTracker::Flush.
- nsSVGElement::DidAnimateTransformList now receives a modType parameter
  that is set by callers to either nsIDOMMutationEvent::ADDITION,
  nsIDOMMutationEvent::REMOVAL, or nsIDOMMutationEvent::MODIFICATION.
- SVGTransformableElement::GetAttributeChangeHint uses the passed modType
  to accurately select when to return nsChangeHint_UpdatePostTransformOverflow.
2014-04-07 12:52:12 -07:00
Adrian Lungu
864ffca9e7 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Jan Beich
149bce343a Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Bobby Holley
35a09c61fe Bug 993772 - Remove nsXULPDGlobalObject. r=mrbkap 2014-04-20 11:48:14 -07:00
Bobby Holley
bc2e3104c1 Bug 993772 - Switch to the singleton compilation scope for XUL prototype compilation. r=mrbkap 2014-04-20 11:48:14 -07:00
Phil Ringnalda
2cabee2858 Back out 8 changesets (bug 990353) for gaia-integration bustage
CLOSED TREE

Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Bobby Holley
861c2a9611 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley
f8ee5952ab Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-18 23:46:26 -07:00
Ryan VanderMeulen
cf27d1f9fe Merge m-c to inbound. 2014-04-18 22:08:16 -04:00
Ryan VanderMeulen
05e02e5efd Merge inbound to m-c. 2014-04-18 22:00:13 -04:00
Bobby Holley
3fc03f0b3e Bug 998377 - Remove mDelayedDisconnect and friends. r=smaug 2014-04-18 16:00:06 -07:00
Bobby Holley
cc7636944d Bug 998377 - Stop calling ReleaseWrapper in DelayedDisconnect(). r=smaug
AFAICT, nobody ever calls PreserveWrapper. Presumably, the CC machinery should
take care of us here.
2014-04-18 16:00:06 -07:00
Bobby Holley
fdee6e6a7e Bug 998377 - Stop nulling out nsInProcessTabChildGlobal::mGlobal during DelayedDisconnect. r=smaug
This is already cycle-collected, so no extra work needs to happen.
2014-04-18 16:00:06 -07:00
Ryan VanderMeulen
c583e54c9d Merge m-c to b2g-inbound. a=merge 2014-04-18 10:03:35 -04:00
Robert Longson
793ff887e8 Bug 974698 - Check that keyPoints and keyTimes numbers match for animateMotion. r=dholbert 2014-04-18 10:47:28 +01:00