Bobby Holley
d89f8ea413
Bug 1091008 - Make sure to always set mStartTime via SetStartTime. r=cpearce
2014-11-11 20:50:20 -08:00
Bobby Holley
2270f8cb61
Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce
2014-11-11 20:50:20 -08:00
Jean-Yves Avenard
94c4b1847c
Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang
...
Change various function prototyping to make object ownership more explicit.
2014-11-06 19:17:05 +11:00
Jean-Yves Avenard
cefc85e6fe
Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang
2014-11-06 20:52:44 +11:00
Carsten "Tomcat" Book
c21e517a86
Backed out changeset 44f27b3c35d4 (bug 1065827)
2014-11-06 14:59:04 +01:00
Carsten "Tomcat" Book
48fbc527ed
Backed out changeset 70a72a19cb4b (bug 1093654)
2014-11-06 14:58:53 +01:00
Jean-Yves Avenard
474006e5f9
Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang
...
Change various function prototyping to make object ownership more explicit.
2014-11-06 19:17:05 +11:00
Jean-Yves Avenard
5eb27a9942
Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang
2014-11-06 20:52:44 +11:00
Matt Woodrow
d69b885bb1
Bug 1056441 - Make MediaSourceReader seeking asynchronous. r=kinetik
2014-11-05 13:32:26 +13:00
Carsten "Tomcat" Book
269e3c6ebc
Backed out 10 changesets (bug 1091008, bug 1093020, bug 1063323) for windows m2 permanent test failures on a CLOSED TREE
...
Backed out changeset 21ddb8a58fea (bug 1093020)
Backed out changeset fe9e11333c7d (bug 1093020)
Backed out changeset bba774c54652 (bug 1063323)
Backed out changeset 16f58d7e1e17 (bug 1091008)
Backed out changeset 649bfc6dad4d (bug 1091008)
Backed out changeset 6f270b2d90f4 (bug 1091008)
Backed out changeset 966093bbc26a (bug 1091008)
Backed out changeset 9de4746aa59a (bug 1091008)
Backed out changeset 856016c0118a (bug 1091008)
Backed out changeset 8aaa10a8d956 (bug 1091008)
2014-11-05 12:57:43 +01:00
Bobby Holley
8012dbf1fc
Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce
2014-11-05 10:09:00 +01:00
Bobby Holley
fbbfe74728
Bug 1091008 - Reimplement HasLowUndecodedData in terms of GetBuffered. r=cpearce
...
Since GetBuffered now has a sane implementation for MSE, this should
make this function sane for MSE as well.
2014-11-05 10:08:59 +01:00
Bobby Holley
554e6d3f3a
Bug 1091008 - Hoist stream pinning into the MediaDecoderReaders and make MediaDecoderStateMachine::GetBuffered just forward to them. r=cpearce
...
Whether or not we ping a stream depends a lot on what kind of decoder we're
dealing with. In particular, it doesn't really make sense for MSE.
2014-11-05 10:08:58 +01:00
Bobby Holley
03ec172df2
Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
...
We now have this stashed on the superclass.
2014-11-05 10:08:58 +01:00
Bobby Holley
d3d3f6f540
Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
...
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-05 10:08:58 +01:00
Bobby Holley
f609cbc7bb
Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce
2014-11-05 10:08:57 +01:00
Cgg
21a7ea846e
Bug 966247 - Make MediaElementAudioSourceNode take the HTMLMediaElement volume into account. r=padenot
2014-06-22 14:12:57 +02:00
Bobby Holley
e6c3d6f8c1
Bug 1090991 - Introduce a new NotDecodedReason WAITING_FOR_DATA and use it for MSE. r=cpearce,r=cajbir
2014-11-03 09:20:15 +01:00
Bobby Holley
b51c133b41
Bug 1090991 - Unify MediaDecoderStateMachine::On{DecodeError,AudioEOS,VideoEOS} and eliminate duplicated logic. r=cpearce
...
We take this opportunity to align the behavior of Finish() calls between audio
and video EOS, invoking them unconditionally for both cases. Currently both
cases always call Finish() immediately, with the exception of:
(A) Video in seeking mode, where we may push mFirstVideoFrameAfterSeek before
doing so, and
(B) Video in the |default:| case.
Push() and Finish() seem like orthogonal operations on MediaQueue, but we
nonetheless preserve the old order just in case. There doesn't seem to be a good
reason for (B).
2014-11-03 09:20:14 +01:00
Bobby Holley
81ec818887
Bug 1090991 - Refactor RequestSampleCallback to use a single callback for all "not decoded" message. r=cpearce,r=cajbir
...
I'm going to add another one, and want this API to scale better than it does.
2014-11-03 09:20:14 +01:00
JW Wang
7870cffa67
Bug 1079695 - Part 3 - fix const-correctness of MediaDecoderStateMachine. r=kinetik
2014-10-30 21:12:00 +01:00
JW Wang
2caf8f6650
Bug 1079695 - Part 2 - remove audio clock wordaround from MediaDecoderStateMachine. r=kinetik.
2014-11-02 18:06:00 +01:00
Bobby Holley
061b71fc8c
Bug 1090983 - Invoke UpdateReadyState() after invoking SetState(). r=cpearce
...
Otherwise, UpdateReadyState() will think that nothing has changed.
2014-10-30 09:16:02 +01:00
Matt Woodrow
4ffeefbba5
Bug 1089480 - Assume a start time of 0 for MSE videos. r=cajbir
2014-10-29 09:30:36 +13:00
JW Wang
997f9ee28b
Bug 1085204 - take playback rate into account when calculating presentation time of a video frame. r=cpearce.
2014-10-27 23:31:00 +01:00
Carsten "Tomcat" Book
f2d3db6f2d
Backed out changeset ac5e69c40ff1 (bug 1089480) for m-2 bustage on a CLOSED TREE
2014-10-28 08:21:10 +01:00
Matt Woodrow
06c849b1b0
Bug 1089480 - Assume a start time of 0 for MSE videos. r=cajbir
2014-10-28 17:48:24 +13:00
Benjamin Chen
4857986929
Bug 1062134 - Freeze decoding when back from Dormant state. r=jwwang
2014-10-24 17:25:45 +08:00
Birunthan Mohanathas
417b400d55
Bug 946065 - Part 10: Move content/media/ to dom/. r=peterv
2014-10-25 20:24:36 +03:00