Commit Graph

4131 Commits

Author SHA1 Message Date
Andrea Marchesini
c902339cc5 Bug 1021084 - WebAudio dispatches mozinterruptbegin/mozinterrutend, r=ehsan 2014-06-06 08:06:18 +01:00
Karl Tomlinson
bf3d4ed619 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
3f0f4411c9 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
b0a1662491 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Dave Hylands
9d2245ec6f Bug 986331 - Enable .3g2 file extension to be recognized as 3gpp video. r=cajbir 2014-06-05 14:22:15 -07:00
Star Cheng
6a58609092 Bug 1007552 - To support publicnotification audio channel type for camera shutter. r=kinetik 2014-05-22 15:08:05 +08:00
Chris Peterson
11c0cde92c 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
69b9628fc0 Bug 1002297 - Seek in unbuffered ranges with MSE - r=kinetik 2014-06-02 22:25:42 +00:00
Ryan VanderMeulen
1b869dd1bc 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
4be6b75af6 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
40a1340af8 Merge m-c to inbound on a CLOSED TREE 2014-06-04 18:48:20 -07:00
Randell Jesup
6a703f4ea4 Bug 1006641: add telemetry for AudioStream open times r=jib 2014-06-04 14:52:32 -04:00
Randell Jesup
a520439607 Bug 1003712: Codec availability support and prioritization r=ehugg 2014-06-04 14:52:32 -04:00
Randell Jesup
0e3d803a91 Bug 1003712: Use Media Resource Manager to reserve OMX Codecs r=jhlin 2014-06-04 14:52:31 -04:00
John Lin
518d164a09 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
a0f97fb323 Bug 951040 - Add gtest testcase for WebMWriter. r=rillian 2014-05-29 16:21:01 +08:00
Randell Jesup
8d6c68d8b4 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
720bb9708f 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
b4bfd61709 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
1c0f801ac5 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
12c3bcae38 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
18bff90cd5 Bug 1015783 - yet another #include fix
Landed on a CLOSED TREE
2014-06-03 19:29:17 -04:00
Ehsan Akhgari
31ac7e3841 Bug 1015783 - Add the missing include 2014-06-03 18:51:54 -04:00
Ehsan Akhgari
4f46b92922 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
8ff83b5aef Merge mozilla-central to mozilla-inbound 2014-05-28 14:48:41 +02:00
Carsten "Tomcat" Book
61cb55cfb0 merge mozilla-inbound to mozilla-central 2014-05-28 14:22:02 +02:00
Randell Jesup
917bc3029a 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
f1e5d44011 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
4c812b7b56 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
7fe2913bfc Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
CLOSED TREE
2014-05-27 14:08:30 -04:00
Brad Lassey
73f70065a1 bug 995777 - browser.properties: rename getUserMedia.videoDevice.prompt to reflect new string r=mfinkle 2014-04-18 15:01:56 -04:00
Jeff Walden
c104308fa6 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
0b70d2a086 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
740e2ee668 Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
4a282365d2 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
6f94b1e656 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
92de819796 Bug 1014819: remove no-longer-needed OMXCodec GetCodecConfig r=roc 2014-05-24 18:28:04 -04:00
Randell Jesup
0caf937427 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
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
JW Wang
a129bc7245 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
85977e31bc Merge mozilla-central to mozilla-inbound 2014-05-22 15:44:47 +02:00
Carsten "Tomcat" Book
f12ca4de02 merge b2g-inbound to mozilla-central 2014-05-22 15:21:43 +02:00
Wes Kocher
0ae89c1c34 Merge m-c to b2g-inbound 2014-05-21 20:38:07 -07:00
Wes Kocher
20d6a4da36 Merge b2g-inbound to m-c 2014-05-21 20:24:32 -07:00
Vasanthakumar Pandurangan
1db555fcd6 Bug 1010685 - FileMediaResource Tell() should not return 0 when file is closed. r=roc 2014-05-19 15:03:24 +05:30
Matthew Gregan
13d60a8552 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
849371302f Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
f59f0e1fd0 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
53a11ecbdf Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Wes Kocher
0f615452fd Merge m-c to inbound 2014-05-21 20:34:12 -07:00