Commit Graph

4131 Commits

Author SHA1 Message Date
Andrea Marchesini
e4ce8a0708 Bug 1021084 - WebAudio dispatches mozinterruptbegin/mozinterrutend, r=ehsan 2014-06-06 08:06:18 +01:00
Karl Tomlinson
c4e30140cf b=1016177 reduce MEDIA_TIME_MAX to not overflow when multiplying by sample rates r=roc
MediaTimes are multiplied by sample rates when converting to ticks.

This new maximum leaves 24 bits to count seconds, which corresponds to 194
days.

TimeVarying::GetAt() can return INT64_MAX, which may be > GRAPH_TIME_MAX.

The "Start time too early" assertion would now fail because conversion of
STREAM_TIME_MAX to ticks no longer overflows.

--HG--
extra : rebase_source : b49c95315d0c633f191ff68aab0b5b7aa04c6e38
2014-06-05 22:08:05 +12:00
Karl Tomlinson
777b39b20a b=1016177 don't create another AUDIO_TRACK after finishing r=roc
--HG--
extra : rebase_source : a7edebde196f08adb88fb008db84bcd17cf02ad7
2014-06-05 10:11:52 +12:00
Wes Kocher
d48f2e62a4 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Dave Hylands
c074414a61 Bug 986331 - Enable .3g2 file extension to be recognized as 3gpp video. r=cajbir 2014-06-05 14:22:15 -07:00
Star Cheng
cc24600c70 Bug 1007552 - To support publicnotification audio channel type for camera shutter. r=kinetik 2014-05-22 15:08:05 +08:00
Chris Peterson
a15f6f029d Bug 1018554 - Fix WebMWriter warnings and mark content/media/gtest as FAIL_ON_WARNINGS. r=rillian
--HG--
extra : rebase_source : 43a93774466cc6d7f3e1f409d63c1663b1870149
2014-05-30 18:00:46 -07:00
Chris Double
2de7b06c76 Bug 1002297 - Seek in unbuffered ranges with MSE - r=kinetik 2014-06-02 22:25:42 +00:00
Ryan VanderMeulen
5bc3216cda No bug - Clean up media mochitest manifests.
This doesn't change the enabled/disabled state of any tests. It should be a no-op since the harness runs tests alphabetically anyway regardless of their order in the manifest.
2014-06-05 12:41:53 -04:00
Ryan VanderMeulen
3cc77580aa Bug 1020538 - Re-enable test_playback_rate.html on Linux, OSX, and Android. r=cpearce 2014-06-05 12:41:52 -04:00
Wes Kocher
f6bae13ecb Merge m-c to inbound on a CLOSED TREE 2014-06-04 18:48:20 -07:00
Randell Jesup
cb5c9db6c9 Bug 1006641: add telemetry for AudioStream open times r=jib 2014-06-04 14:52:32 -04:00
Randell Jesup
cd089192fd Bug 1003712: Codec availability support and prioritization r=ehugg 2014-06-04 14:52:32 -04:00
Randell Jesup
7e84082c49 Bug 1003712: Use Media Resource Manager to reserve OMX Codecs r=jhlin 2014-06-04 14:52:31 -04:00
John Lin
77b8aa96e9 Bug 1003712: extend MediaResourceManagerService to support video encoder and no-wait mode. r=rjesup,jhlin,sotaro 2014-06-04 14:52:21 -04:00
Benjamin Chen
bea8a9d7cf Bug 951040 - Add gtest testcase for WebMWriter. r=rillian 2014-05-29 16:21:01 +08:00
Randell Jesup
79df25773b Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup 2014-05-29 17:05:14 -04:00
Randell Jesup
7740e2ceb2 Bug 987979: Patch 2 - Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup 2014-05-29 17:05:14 -04:00
Jan Beich
560c6554f4 Bug 1016631 - Cosmetic fix to use correct type for sysctl()'s 2nd argument. Also s/NULL/nullptr/ style fix in my code. r=gcp, r=vladan 2014-05-28 18:11:00 -04:00
Ehsan Akhgari
2094e05ac0 Bug 1015783 - Add a devtools API for Web Audio; r=padenot,smaug
See bug 980506 for an extensive discussion about this.  This patch adds
three APIs to AudioNode in order for us to be able to build awesome
devtools on top of it.

* Weak reference API.
  This patch allows one to hold a weak reference to all AudioNode's
  using Components.utils.getWeakReference().  That way, the devtool's
  inspection code would not change the lifetime of AudioNodes.
* AudioNode.id
  This is a chrome-only unique and monotonically incrementing ID for
  AudioNode objects.  It is supposed to be used in order for the
  devtools to be able to identify a node without having to keep it
  alive.
* webaudio-node-demise
  This is an observer notification that is called every time an
  AudioNode gets destroyed inside Gecko.  The ID of the corresponding
  node is passed to this notification.

--HG--
extra : rebase_source : 83246a990489daf44ddc97dd4ea372a8cebe8e00
2014-06-03 22:51:48 -04:00
Ehsan Akhgari
1cf7290da2 Backed out 3 changesets (bug 1015783) because of test failures on a CLOSED TREE
Backed out changeset 1307202f365c (bug 1015783)
Backed out changeset 5c83b4710688 (bug 1015783)
Backed out changeset feb56fc5dc01 (bug 1015783)
2014-06-03 19:49:04 -04:00
Ehsan Akhgari
130053bdfb Bug 1015783 - yet another #include fix
Landed on a CLOSED TREE
2014-06-03 19:29:17 -04:00
Ehsan Akhgari
d58c8a2043 Bug 1015783 - Add the missing include 2014-06-03 18:51:54 -04:00
Ehsan Akhgari
fd0113805e Bug 1015783 - Add a devtools API for Web Audio; r=padenot,smaug
See bug 980506 for an extensive discussion about this.  This patch adds
three APIs to AudioNode in order for us to be able to build awesome
devtools on top of it.

* Weak reference API.
  This patch allows one to hold a weak reference to all AudioNode's
  using Components.utils.getWeakReference().  That way, the devtool's
  inspection code would not change the lifetime of AudioNodes.
* AudioNode.id
  This is a chrome-only unique and monotonically incrementing ID for
  AudioNode objects.  It is supposed to be used in order for the
  devtools to be able to identify a node without having to keep it
  alive.
* webaudio-node-demise
  This is an observer notification that is called every time an
  AudioNode gets destroyed inside Gecko.  The ID of the corresponding
  node is passed to this notification.
2014-06-03 18:28:18 -04:00
Carsten "Tomcat" Book
4719cf159c Merge mozilla-central to mozilla-inbound 2014-05-28 14:48:41 +02:00
Carsten "Tomcat" Book
7f9c4ef8ba merge mozilla-inbound to mozilla-central 2014-05-28 14:22:02 +02:00
Randell Jesup
51036cd19e Bug 743703: allow mirroring of trace logs to NSPR; fix backwards lazy allocation defines r=pkerr 2014-05-28 03:18:33 -04:00
JW Wang
f163f19314 Bug 1008057 - fix the stream position adjustment algorithm in AudioStream::GetPositionInFramesUnlocked so it won't over-adjust the position and result in audio clock going backward. r=kinetik. 2014-05-28 01:52:00 +02:00
Jeff Walden
2155f1cf29 Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff 2014-05-27 14:32:41 -07:00
Ryan VanderMeulen
b46128affc Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
CLOSED TREE
2014-05-27 14:08:30 -04:00
Brad Lassey
3b5ccf0b4d bug 995777 - browser.properties: rename getUserMedia.videoDevice.prompt to reflect new string r=mfinkle 2014-04-18 15:01:56 -04:00
Jeff Walden
8978c3f50f Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent 2014-05-27 09:56:43 -07:00
Neil Rashbrook
9cfd58c16f Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
12b4869c02 Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Karl Tomlinson
4fbb1323cc b=1015025 use a consistent reference timestamp for graph time to avoid accumulating drift from rounding to MediaTime r=roc
--HG--
extra : transplant_source : 2%B9y%D4%80%DA/qqx%C5%F5%86%8CoT%B9S%19%D9
2014-05-26 11:26:52 +12:00
Randell Jesup
0914b4c1d3 Bug 1014819: remove no-longer-needed OMXCodec GetCodecConfig r=roc 2014-05-24 18:28:04 -04:00
Randell Jesup
d8de28f2bb Bug 997567: Support reconfiguration for frame-rate changes on OMX H.264 encoder r=jhlin 2014-05-24 18:28:02 -04:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
JW Wang
1b034ab132 Bug 1008012 - |mBasePosition| should be updated after seeking otherwise GetVideoStreamPosition will get the wrong value. r=cpearce 2014-05-21 00:41:00 +02:00
Carsten "Tomcat" Book
b4c4345ac9 Merge mozilla-central to mozilla-inbound 2014-05-22 15:44:47 +02:00
Carsten "Tomcat" Book
57c5c82667 merge b2g-inbound to mozilla-central 2014-05-22 15:21:43 +02:00
Wes Kocher
5ac095d953 Merge m-c to b2g-inbound 2014-05-21 20:38:07 -07:00
Wes Kocher
f8bb8da7ea Merge b2g-inbound to m-c 2014-05-21 20:24:32 -07:00
Vasanthakumar Pandurangan
7d3d536bb6 Bug 1010685 - FileMediaResource Tell() should not return 0 when file is closed. r=roc 2014-05-19 15:03:24 +05:30
Matthew Gregan
d8900e1c9b Bug 1013032 - Initialize pending subdecoders directly rather than waiting on a task (that may be blocked) to do it. r=cajbir 2014-05-19 19:59:00 +12:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
807e72372f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Wes Kocher
f3c274917a Merge m-c to inbound 2014-05-21 20:34:12 -07:00