Commit Graph

4059 Commits

Author SHA1 Message Date
Karl Tomlinson
9d886dd15c 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
04329cfcdb 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
2d34cee229 Bug 1006285: make MediaCodec bitrate setting work for KitKat-based builds r=jhlin 2014-05-18 10:17:01 -04:00
Josh Aas
bbbfa48727 Bustage fix for Gecko Media Plugins landing, bug 957928. 2014-05-17 22:44:47 -05:00
Josh Aas
7ec76f43f8 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
127b904678 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
992d7074a3 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
John Lin
33b91e228f 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
648f19233b Bug 1010163 - Cast out warning demons on a CLOSED TREE. 2014-05-16 17:09:28 +12:00
Matthew Gregan
9f5c9515b1 Bug 1010163 - Fix. r=cajbir 2014-05-16 13:46:39 +12:00
Simon Wilper
f6bc3ab1c4 Bug 999496 - Move AudioData::SizeOfIncludingThis to MediaData.cpp. r=kinetik 2014-05-14 05:38:00 +12:00
Karl Tomlinson
8c2ea9692c 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
7ce18f4431 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
b20b85f946 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
1b213a521f 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
4b5c66fc5a 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
6578a0d181 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
b24cc8f363 Bug 1003006: Move b2g camera rotation checks to MainThread r=mikeh 2014-05-15 19:17:40 -04:00
Bob Owen
61c6fa0952 Bug 1006024 - Part 10: Remove AudioContext::GetJSContext. r=bholley 2014-05-09 20:07:34 +01:00
Bob Owen
5c5d3f2b80 Bug 1006024 - Part 9: Remove unused JSContext parameter from AudioBuffer::SetRawChannelContents. r=bholley 2014-05-09 10:16:03 +01:00
Bob Owen
29aa975c95 Bug 1006024 - Part 8: Replace AutoPushJSContext in ScriptProcessorNode - Command::Run. r=bholley 2014-05-09 19:57:24 +01:00
Bob Owen
4a6177bed1 Bug 1006024 - Part 7: Replace AutoPushJSContext in WebAudioDecodeJob::AllocateBuffer. r=bholley 2014-05-09 19:51:56 +01:00
Bob Owen
12aeed98cf Bug 1006024 - Part 6: Replace AutoPushJSContext in AudioProcessingEvent::LazilyCreateBuffer. r=bholley 2014-05-09 19:43:48 +01:00
Bob Owen
bd6e5cb7a3 Bug 1006024 - Part 5: Replace AutoPushJSContext in AudioDestinationNode FireOfflineCompletionEvent. r=bholley 2014-05-09 19:33:17 +01:00
Benjamin Chen
c4437aa74d Bug 951043 - [MediaEncoder::GTest] Implement unit test of Vorbis encoding. r=rillian 2014-05-13 15:07:56 +08:00
Karl Tomlinson
f0e45ed681 b=994351 re-enable media-element-source-seek-1 on B2G
--HG--
extra : transplant_source : %8E%A7%8A%CA%27%A6%FF%AD%B1S%86%E3u%CAL%C7%F26%D0%11
2014-05-14 16:40:27 +12:00
Karl Tomlinson
808a467115 b=994351 break playing/seeked cycle in test
The seek is also moved to after the timeout to make the assertion failure
more reliable (in broken builds).

--HG--
extra : transplant_source : %CB_q%E3%CF%D9%25%85U%D3%B2X%CA%82%01%0D%91%D9%3C%A5
2014-05-14 12:12:47 +12:00
JW Wang
32896fdda1 Bug 1000813 - Do nothing in MediaDecoder::NotifyBytesConsumed() when |mShuttingDown| is true. r=cpearce 2014-05-11 19:20:00 -04:00
Martin Thomson
d2fec57ae8 Bug 966066 - Add principal observer to web audio MediaStream input. r=roc 2014-04-25 10:32:00 -04:00
Martin Thomson
bab719dfee Bug 966066 - Add principal observer to DOMMediaStream. r=roc 2014-04-25 10:30:00 -04:00
Paul Adenot
cd989798a5 Bug 991273 - Warn instead of asserting until we can find a solution. 2014-05-13 13:27:21 +02:00
Wes Kocher
4104982fc3 Backed out 4 changesets (bug 908503) for breaking the Hamachi eng dep build on an otherwise CLOSED TREE
Backed out changeset 476cd5c9c5a9 (bug 908503)
Backed out changeset add95b3c2e7f (bug 908503)
Backed out changeset 30957caad928 (bug 908503)
Backed out changeset f6f386352d12 (bug 908503)
2014-05-12 21:18:31 -07:00
Anthony Jones
35cdcbb7fb Bug 908503: Remove Chrome demuxer; r=cpearce 2014-05-13 14:53:54 +12:00
Anthony Jones
402761fa6b Bug 908503: Change to stagefright demuxer; r=cpearce 2014-05-13 14:53:54 +12:00
Chris Pearce
3e16de701c Bug 1008800 - Seek android audio to video position after fastSeek, speeds up fastSeek by 12%. r=doublec 2014-05-13 09:10:16 +12:00
Randell Jesup
8a90014c84 Bug 1000539: clear getUserMedia AudioOutputObserver when it's deleted r=padenot 2014-05-12 09:25:01 -04:00
JW Wang
19d8607bfe Bug 1001317 - reset |MediaCacheStream::mDidNotifyDataEnded| so that it can notify data ended correctly upon 2nd download. r=roc 2014-05-11 20:43:00 +02:00
Carsten "Tomcat" Book
c14510148f Backed out changeset 7276d56ec510 (bug 951043) for build test failures 2014-05-12 11:51:31 +02:00
Benjamin Chen
eb0de7a40a Bug 951043 - [MediaEncoder::GTest] Implement unit test of Vorbis encoding. r=rillian 2014-05-09 12:07:17 +08:00
JW Wang
96a12f389c Bug 1004669 - Fix leaks in MediaTaskQueue::Dispatch(). r=cpearce 2014-05-11 20:12:00 +02:00
Chris Pearce
9037e1639f Bug 1008785 - Ensure the last video frame end time is correct on Android MP4 playback. r=kinetik 2014-05-12 14:35:46 +12:00
Anthony Jones
f9d210473c Backed out changeset 191741878690 (bug 908503) 2014-05-12 10:11:04 +12:00
Anthony Jones
ebdaf031ce Backed out changeset f9b51826b2ff (bug 908503) 2014-05-12 10:11:01 +12:00
Anthony Jones
6d914e5dd5 Bug 908503: Remove Chrome demuxer; r=cpearce 2014-05-12 09:46:44 +12:00
Anthony Jones
64a7ee9ff9 Bug 908503: Change to stagefright demuxer; r=cpearce 2014-05-12 09:46:18 +12:00
Anthony Jones
6cf13f5f15 Bug 908503: Clean up MP4Reader; r=cpearce 2014-05-12 09:46:00 +12:00
Randell Jesup
c9f5740ab3 Bug 1005637: undo accidental parameter change not part of reviewed code rs=jesup 2014-05-11 10:45:09 -04:00
Randell Jesup
91bdf2c602 Bug 1005637: Add support for controlling the OMX encoder config settings r=roc 2014-05-10 08:21:23 -04:00
Benoit Jacob
60d536773a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Ehsan Akhgari
903bfdef6e Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00