Commit Graph

4191 Commits

Author SHA1 Message Date
Karl Tomlinson
b336d85e93 b=1024901 revert TrackTicks range assertion to warning, unintentionally changed in b33b8af66151 r=roc
--HG--
extra : transplant_source : %D8%F8%C3%C2%C3%BF%29%F5%9C%3DiG%04%F9%86Gu%29%9A%8C
2014-06-18 17:23:57 +12:00
Chris Pearce
92ac291127 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-18 17:07:02 +12:00
Ehsan Akhgari
baf1bebd32 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
JW Wang
d7ea25c326 Bug 1023781 - default preload is 'none' on B2G. It will not create a decoder at all and we will get 'suspend' instead of 'error'. r=cajbir 2014-06-16 20:17:00 +02:00
Chris Pearce
3956503389 Bug 1022913 - Ensure that fastSeek() doesn't skip behind the current playback position if we're seeking forwards. r=cajbir 2014-06-17 15:27:46 +12:00
Ben Kelly
d96ec8b401 Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz 2014-06-16 14:08:00 -04:00
Anthony Jones
a21e23aa0a Bug 1020679 - Crash test for timescale /0. r=cpearce 2014-06-17 13:52:01 +12:00
Ehsan Akhgari
91d3eae2f3 Bug 1024459 - Define an out of line destructor for TextTrack so that we can forward delcare HTMLTrackElement in TextTrack.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<HTMLTrackElement>
member requires the full definition of the type.
2014-06-14 22:53:52 -04:00
Ehsan Akhgari
2c2d1f8e86 Bug 1025324 - Define an out of line destructor for MediaSource so that we can forward delcare MediaSourceList in MediaSource.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<MediaSourceList>
member requires the full definition of the type.
2014-06-14 10:04:01 -04:00
Ehsan Akhgari
b64a25fc13 Backed out changeset 0cdef46c65c1 (bug 979104) for causing bug 1024324 2014-06-13 16:20:37 -04:00
Randell Jesup
95ddaacac2 Bug 1022235: Make the webrtc LoadManager/LoadMonitor a singleton r=bsmedberg,pkerr 2014-06-13 15:50:51 -04:00
Andrea Marchesini
33dfed9264 Bug 1023175 - AudioContext should have attribute EventHandler onmozinterruptend/begin in the webIDL interface, r=ehsan, r=smaug 2014-06-13 07:06:14 +01:00
Ryan VanderMeulen
525203360e No bug - Adjust expected assertions for test_playback_rate.html on Linux. 2014-06-12 18:20:16 -04:00
Ehsan Akhgari
10ee52f244 Bug 1024463 - Define an out of line destructor for TextTrackCue so that we can forward delcare HTMLTrackElement in TextTrackCue.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<HTMLTrackElement>
member requires the full definition of the type.
2014-06-12 11:31:18 -04:00
Randy Lin
5e7352d0f5 Bug 1011149 - Video freezes when audio track is disabled on remote stream. r=jesup 2014-06-10 10:32:30 +08:00
Karl Tomlinson
a4b9a3c57e b=1023697 use audio ticks for graph time units r=roc
--HG--
extra : transplant_source : 8%BA%9D%5C%E32%05x%A79K%08TH%A7%F4%F2tg%EC
2014-06-12 16:45:00 +12:00
Karl Tomlinson
36c7833021 b=1023697 use 0 for initial graph time r=roc
We could get away with 1 as an initial time when units were 1/(1<<20) seconds
but when graph time units are audio samples, an initial value of 1 will mean
that the first audio block produced has 1 frame fewer.

--HG--
extra : transplant_source : %FF%D5%AF%A9%C7%EA%C4%D7%ED%8F%CC%AC%E4%5E%FF%D0%87%8D%3AN
2014-06-12 16:45:00 +12:00
Karl Tomlinson
1fdee32d25 b=1023697 add functions to convert between track ticks and seconds, and remove global MediaTime/second conversion functions r=roc
--HG--
extra : transplant_source : %F3%D8%C168%B7%A3%13%B2p%3Ee%89TkGlD%A8%A7
2014-06-12 16:45:00 +12:00
Karl Tomlinson
ed2450c4a3 b=1023697 simplify StreamBuffer::ForgetUpTo() to avoid graph-rate-dependent conversions r=roc
--HG--
extra : transplant_source : %16%9C%08%CA%3E%DD%82%21%D2%90%7D%29%FB%D9L%9E%F8%2A%CBd
2014-06-12 16:44:59 +12:00
Karl Tomlinson
d8be06bf30 b=1023697 add functions to convert between track rates and remove global StreamTime/tick conversion functions r=roc
--HG--
extra : transplant_source : %B6%BC%83%17%22%EE%5D%BEl%B6%17m%1C%D0N%D1C%97%60%E1
2014-06-12 16:44:59 +12:00
Karl Tomlinson
b0bb0ef6be b=1023697 record the graph tick rate on StreamBuffer and its Tracks for StreamTime calculations r=roc
--HG--
extra : transplant_source : 8%B4%DB%A4%FE%2C%B7%235%7F%7D5%2C%FA%BA%0D%9E%CC%7E%11
2014-06-12 16:44:59 +12:00
Karl Tomlinson
552baaf560 b=1023697 use MediaStream to convert between stream time and seconds in Web Audio r=roc
--HG--
extra : transplant_source : %FE%C77k/%25%B4%25F%FB1%EAAqn%CA%DEH%06%C0
2014-06-12 16:44:58 +12:00
Karl Tomlinson
793162cc82 b=1023697 use MediaStream to convert stream time to seconds in DOMMediaStream r=roc
--HG--
extra : transplant_source : %D4%9E%26%05%E3%8AQ%7B%D1%D1%E8%88j%DC%F7r.%7BJ%1A
2014-06-12 16:44:58 +12:00
Karl Tomlinson
4f894de6d1 b=1023697 use MediaStream to convert stream time to ticks in media engine sources r=roc
--HG--
extra : transplant_source : %F9O%C0T_%C9%8D%9C%3Bt%CB%60%EA%60%C3i_%E0A%9D
2014-06-12 16:44:57 +12:00
Karl Tomlinson
fa98b9e6d5 b=1023697 use MediaStream to convert ticks to time in MediaDecoderStateMachine r=roc
--HG--
extra : transplant_source : %EA%E0%A5rH%F6%F55%B0%28%3Eq%5C%8Ap%FC%06%3D%06%3B
2014-06-12 16:44:56 +12:00
Karl Tomlinson
1e91de9fa8 b=1023697 change MediaDecoderStateMachine::mSyncPointInMediaStream from StreamTime to µs r=roc
This allows the conversion from StreamTime to be performed while a stream is
available.

--HG--
extra : transplant_source : %3A%AD%5C%1A%84%C3%1BC%8B%04%D5%5B%90%3Cv%BE%A6%D6%C0%9D
2014-06-12 16:44:56 +12:00
Karl Tomlinson
e0be01fd48 b=1023697 add methods to MediaStream for tick and time conversions r=roc
When MediaTime depends on the audio rate of the graph, the stream will know the
graph rate and so can perform the conversion.

Existing methods in StreamBuffer.h and MediaSegment.h will be removed once
clients have been changed to the new methods.

--HG--
extra : transplant_source : %155uv%90%EC%81%C8%888%C4%17%AF%ED%1B%A0B%90%5E%26
2014-06-12 16:44:56 +12:00
Karl Tomlinson
21c0a9c38e b=1023697 remove unused TicksToTimeRound() r=roc
--HG--
extra : transplant_source : %3E%84%B8%C7%25%EE%EEz%08%B9%ABx8%27%C3%BA%9C%F6%9D%ED
2014-06-12 16:44:55 +12:00
Karl Tomlinson
7896a7639e b=995690 don't advance audio output stream position 1 tick beyond what has been produced r=roc
This may result in repeating a sample sometimes due to rounding effects, but
that should only happen once per unblocked sequence of track frames.

--HG--
extra : transplant_source : %0C%E9%A4jq%286%96%B1%A9%AE%9F%1Cr%DCK%8F%AF%92i
2014-06-12 16:41:29 +12:00
Karl Tomlinson
d978344073 b=995690 correct mLastTickWritten to only advance when not blocked r=roc
mLastTickWritten and offset are stream positions, which do not advance when
the stream is blocked.

--HG--
extra : transplant_source : %15%7B%E5%E9.%89%BC%1E%F8%92%FD%3D%CB%10%FC%AD%EAT%90-
2014-06-12 16:40:51 +12:00
Boris Zbarsky
c9eabf9d78 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Wes Kocher
71d8b72158 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Wes Kocher
c37442c812 Merge fx-team to m-c a=merge 2014-06-10 18:47:36 -07:00
Chris Pearce
21926cafc3 Bug 1022468 - Detect EOS in MP4Stream::ReadAt(). r=kentuckyfriedtakahe 2014-06-11 10:53:41 +12:00
Chris Pearce
b6045ec58d Bug 1022467 - Proxy destruction of WMFVideoOutputSource's DXVA2Manager to main thread. r=padenot 2014-06-11 10:53:21 +12:00
Brad Lassey
7e1a12ecd2 bug 1023108 - nsITabSource.idl UUID have to be updated for the 31 release r=mfinkle 2014-06-10 09:21:22 -07:00
Chris Pearce
6efa8303c7 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-10 19:31:09 +12:00
Ed Morley
bb43cde911 Backed out changeset 3395ce618c91 (bug 979104) for mochitest-1 hangs and leaks 2014-06-09 11:25:19 +01:00
Paul Kerr [:pkerr]
af0b5dd5d3 Bug 970713 - Part 1: Control webrtc logging from about:config settings r=jesup 2014-06-08 18:54:47 -07:00
Chris Pearce
e946ffd7d0 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-09 20:33:22 +12:00
Anthony Jones
9ec64dde9b Bug 1016150 - Fix ffmpeg; r=cpearce 2014-06-09 18:07:44 +12:00
Karl Tomlinson
7386288622 b=1014862 assert that source track resamplers are used with the correct channel count r=padenot
--HG--
extra : rebase_source : cc28665fc90cf0bfc9f113b5e25f2c57a4948c9e
2014-06-09 12:11:41 +12:00
Karl Tomlinson
4798768e07 b=999267 ensure AudioSegment::Resample() processes all frames of each chunk r=padenot
--HG--
extra : rebase_source : e3128e9837c108b36b83cd3cf8762e549c5ef696
2014-06-09 12:11:08 +12:00
Randell Jesup
f28fdc933c Bug 1022376: Properly shut down LoadMonitor threads r=jib 2014-06-08 18:37:14 -04:00
Randell Jesup
370f28d765 Bug 999704: Implement GMP codec interface to webrtc (not enabled yet) r=joshmoz,ehugg,jesup,pkerr 2014-06-08 17:25:18 -04:00
Ryan VanderMeulen
0ae54304d5 Backed out changeset 2af237fa2079 (bug 999704) for bustage.
CLOSED TREE DONTBUILD
2014-06-08 14:39:44 -04:00
Randell Jesup
8cf755ddd9 Bug 999704: Implement GMP codec interface to webrtc (not enabled yet) r=joshmoz,ehugg,jesup 2014-06-08 14:07:53 -04:00
Ryan VanderMeulen
9bf1f9f992 No bug - Tweak expected assertions in test_playback_rate_playpause.html. 2014-06-08 13:11:25 -04:00
Ryan VanderMeulen
9a59cd3a8e No bug - Re-disable test_mixed_principals.html on all platforms. 2014-06-07 23:34:54 -04:00
Ryan VanderMeulen
a9d2336428 Bug 567954 - Re-disable test_mixed_principals.html on B2G. a=me 2014-06-07 14:13:34 -04:00