Ryan VanderMeulen
c34eb2f090
No bug - Re-enable some media mochitests that no longer fail and disable a couple that fail frequently.
2014-06-07 00:54:02 -04:00
Ryan VanderMeulen
94e4e0a8df
Bug 1023351 - Adjust expected assertion range for test_playback_rate_playpause.html on OSX.
2014-06-10 13:19:20 -04:00
Jonathan Watt
545ca6ad34
Bug 1022667, part 2 - Remove BytesToTime from MediaOmxReader.cpp. r=cpearce
2014-06-10 16:42:21 +01:00
Randell Jesup
95cb2ee7a0
Bug 1021328: ensure no paths lose far-end audio chunks in getUserMedia r=mccr8
2014-06-07 00:11:42 -04:00
Chris Pearce
3c3777d2de
Bug 1016162 - Base EME DOM APIs, not connected to a CDM yet. r=bz
2014-06-07 08:52:15 +12:00
Brian Smith
7663f5c91a
Bug 1018402: Disable VP8VideoTrackEncoder.FrameEncode on Windows because the test crashes on Windows, r=cku
...
--HG--
extra : rebase_source : f5fe7da0aedd08a3de661fabfa7ac26ffa578dac
2014-04-24 20:11:27 -07:00
Eric Phan
ab493c3909
Bug 1015979 - Use a fatal assert in case of empty picture rect when creating a video frame. r=cpearce DONTBUILD
2014-06-06 15:11:34 +02:00
Paul Adenot
bb23260d5e
Backed out changeset cef880caa887 (bug 101597)
2014-06-06 15:10:16 +02:00
Eric Phan
de911a9386
Bug 101597 - Use a fatal assert in case of empty picture rect when creating a video frame. r=cpearce
...
--HG--
extra : rebase_source : 12b2949e5b9a243ea8bf02c1cde4e94199f47d8a
2014-06-06 15:06:58 +02:00
Vasanthakumar Pandurangan
f484ddd8f3
Bug 1020176 - AudioOffloadPlayer: Avoid calling ResumeStateMachine from multiple paths. r=roc
2014-06-04 14:25:21 +05:30
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
Anthony Jones
0caa8d383f
Bug 908503: Change to stagefright demuxer; r=cpearce
...
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
Bug 908503: Remove Chrome demuxer; r=cpearce
Bug 908503: Add conversion to Annex B; r=cpearce
2014-05-22 14:42:39 +12:00
Jan Beich
4a35fe6ead
Bug 1013907: Unbreak WebRTC build on BSDs after bug 1007775. r=gcp
2014-05-21 16:42:52 +02:00
Carsten "Tomcat" Book
88b5b45de0
Merge mozilla-central to mozilla-inbound
2014-05-21 14:26:21 +02:00
Carsten "Tomcat" Book
3189a1798c
merge b2g-inbound to mozilla-central
2014-05-21 14:08:03 +02:00
Carsten "Tomcat" Book
f7c7993e83
Backed out changeset 90f267beb7f5 (bug 951278) for Build Bustage on a CLOSED TREE
2014-05-21 10:44:22 +02:00
Jan Beich
d43aad9a35
Bug 1012415 - Explicitly include <unistd.h> for _exit() on XP_UNIX. r=josh
2014-05-18 10:29:00 -04:00
Randell Jesup
8d3a546993
Bug 921622 - AudioStream rework. r=padenot
2014-05-21 03:28:22 -04:00
Paul Adenot
fdf46bf905
Backed out changeset 8dd41701dd92 (bug 989921) on a CLOSED TREE
2014-05-22 14:49:10 +02:00
Paul Adenot
1a157a4f4c
Bug 1007223 - r=ehsan
2014-05-13 14:09:44 +02:00
Paul Adenot
5e88dd69e0
Bug 989921 - Allow the MediaStreamGraph mixer to send data back to multiple consumers. r=jesup
2014-05-22 13:40:51 +02:00
Jan Beich
98bf758c69
Bug 1014064 fixup - Unbreak runtime of UpdateSystemLoad() on 32bit NetBSD. r=gcp
2014-05-22 10:41:00 +02:00
Jan Beich
a379614ed6
Bug 1014064 - Implement LoadInfo::UpdateSystemLoad() on BSDs. r=gcp
2014-05-21 22:39:55 +02:00
Vincent Chang
249de385e8
Bug 951278 - [RTSP][V1.3] The RTSP streaming always stops at the last 1st or 2nd second. r=sworkman
2014-03-18 14:30:51 +08:00
Vincent Chang
fa1332d06d
Bug 951278 - [RTSP][V1.3] The RTSP streaming always stops at the last 1st or 2nd second. r=sworkman
2014-03-18 14:30:51 +08:00
Sotaro Ikeda
ebfee1fbe7
Bug 1011130 - Fix video seek problem in OmxDecoder r=cajbir
2014-05-20 18:22:57 -07:00
Paul Kerr [:pkerr]
285fe663a3
Bug 1007775 - Part 2: Win32 port of load adaptation. Get total system load from the PDH service. Calculate process load using user + privileged cpu ticks compared to system time ticks. r=gcp
2014-05-16 08:19:07 -07:00
Paul Kerr [:pkerr]
d7e493a216
Bug 1007775 - Part 1: OS X port of load adapation. Replace usage of proc fs for total system load with calls to mach library. r=gcp
2014-05-05 07:25:07 -07:00
Ehsan Akhgari
f301f8be83
Bug 1006229 - Assert that the AudioBuffer object should not have been handed to JS or have C++ callers neuter its typed array; r=padenot
2014-05-19 23:12:47 -04:00
Peter Van der Beken
11c7284be9
Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
2014-02-15 22:12:35 +01:00
Carsten "Tomcat" Book
2fb1104640
Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE
2014-05-19 15:02:58 +02:00
Peter Van der Beken
a74f42c6f9
Bug 1010955 - Fix tests so they'll work with Window on WebIDL bindings. r=bz.
...
--HG--
rename : content/media/webspeech/synth/ipc/test/test_ipc.html => content/media/webspeech/synth/ipc/test/file_ipc.html
extra : rebase_source : c7dc7fc44717ad6bf5381ecb8a537bf698ee962e
2014-02-15 22:12:35 +01:00
Karl Tomlinson
59e9c70900
b=1010000 update mTracksKnownTime when finishing a stream r=roc
...
and use this in StreamBuffer::GetAllTracksEnd() to detect when no more tracks
will be added.
--HG--
extra : transplant_source : %B7A-%7EV%94%E1%CE%15%1C%15%7B%84%D5%F1%1D%A2%CF%EC%15
2014-05-19 08:26:54 +12:00
Karl Tomlinson
0b501e1f4f
b=1010000 update SourceMediaStream::Finish() doc as AdvanceKnownTracksTime() info is incorrect since e526d37a9a19 r=roc
...
--HG--
extra : transplant_source : B%92%A3%83K%D0%8AE%8A%F32%D1E%0F%DA%0E%C0%AE%27%03
2014-05-19 08:24:01 +12:00
Randell Jesup
a7abbce43e
Bug 1006285: make MediaCodec bitrate setting work for KitKat-based builds r=jhlin
2014-05-18 10:17:01 -04:00
Josh Aas
18dc111ade
Bustage fix for Gecko Media Plugins landing, bug 957928.
2014-05-17 22:44:47 -05:00
JW Wang
ba4ef49451
Bug 1000841 - remove SetActive() from MediaDecoderReader. Its user needs to know when to call SetIdle() only. r=cpearce
2014-05-19 04:23:00 +02:00
Josh Aas
3675b7efa2
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 22:05:46 -05:00
Phil Ringnalda
3b63909530
Back out a4b51aff4b3c (bug 957928) for build bustage
...
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
792dc0a797
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 18:53:03 -05:00
John Lin
4482fb3908
Bug 1010841 - Handle on-demand key frame request in OMX H.264 encoder. r=jesup
2014-05-16 01:56:00 -04:00
Matthew Gregan
f2fda58f3b
Bug 1010163 - Cast out warning demons on a CLOSED TREE.
2014-05-16 17:09:28 +12:00
Matthew Gregan
80f6fe5914
Bug 1010163 - Fix. r=cajbir
2014-05-16 13:46:39 +12:00
Simon Wilper
a5e699f7e2
Bug 999496 - Move AudioData::SizeOfIncludingThis to MediaData.cpp. r=kinetik
2014-05-14 05:38:00 +12:00
Karl Tomlinson
152a304e3b
b=990868 limit ChannelMergerNode output channel count r=padenot
...
--HG--
extra : transplant_source : 5S-%40T%8E%8B%F8%B4W%1F%B3%BA5O%83%BF%044%23
2014-05-16 09:23:38 +12:00
Karl Tomlinson
4980cab4b0
b=991533 limit AudioBuffer channel count r=padenot
...
--HG--
extra : transplant_source : %28%F0%2Cc%FE%60%B3%EE%A0O%3F%E6%C4%C4%F9%88%1C%E3%89%09
2014-05-16 09:23:38 +12:00
Karl Tomlinson
63192b0276
b=991533 limit AudioBuffers from decodeAudioData to the same sample rates as createBuffer r=ehsan
...
The numberOfChannels array on AudioBuffer is now an infallible array, as this
is considerably smaller than infallible channel data array allocations in
AllocateAudioBlock and similar to channel data pointer array allocations in
AudioChunk.
--HG--
extra : transplant_source : C%29_%13%9C%9C%A1%E1%A3%E8%C9_%93%11%85lM%FC%7E%BC
2014-05-16 09:23:27 +12:00
Karl Tomlinson
651d766fc4
b=991533 throw exception from AudioProcessingEvent buffer getters when allocation fails r=ehsan,bz
...
--HG--
extra : transplant_source : C%60%E5f6%1D%D3%0F%D6%0B%9CV%A6%AD%C5%5D%E9%9B%C6%BD
2014-05-16 09:11:13 +12:00
Karl Tomlinson
b11287322d
b=991533 limit OfflineAudioContext to the same sample rates as AudioBuffer r=padenot
...
OfflineAudioCompletionEvent needs to use AudioBuffer for its output,
and so the AudioContext should run at the rates supported by AudioBuffer.
--HG--
extra : transplant_source : %F2%A0%90%E6%DD%21%15%CDBa%F4%24%93%22%FA%A3%D8%12KU
2014-05-16 08:44:18 +12:00
Karl Tomlinson
df408748ac
b=991533 move sample rate limits to WebAudioUtils r=padenot
...
Also change WebAudioUtils from a class to a namespace, so that constant
variables can be defined inline with internal linkage.
static class variables cannot be defined inline because this violates the one
definition rule, even though some compilers may not notice.
--HG--
extra : transplant_source : %9F4%2Ct%BA%D2%BD%8A1Xev%92%C0%A1%AD%88IH%BF
2014-05-16 08:44:17 +12:00
Randell Jesup
6bbf07b570
Bug 1003006: Move b2g camera rotation checks to MainThread r=mikeh
2014-05-15 19:17:40 -04:00