Commit Graph

109 Commits

Author SHA1 Message Date
Chris Pearce
f65c7d3575 Bug 1111387 - Nullcheck mTaskQueue in TrackBuffer::QueueInitializeDecoder, as we can shutdown in between dispatching and running the task that calls QueueInitializeDecoder. r=cajbir 2014-12-15 15:30:20 +13:00
Bobby Holley
a68519a020 Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-12 14:22:23 -08:00
Ehsan Akhgari
309b4049b4 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Anthony Jones
1b1d177a63 Bug 1110595 - Fix MSE playback stalling; r=mattwoodrow 2014-12-12 17:11:51 +13:00
Bobby Holley
21c1847bed Backed out changeset 89c9d42ef78e (bug 1109954) for colliding with bug 1108701 on a CLOSED TREE. 2014-12-10 22:56:09 -08:00
Bobby Holley
df95a4fbf6 Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-10 22:38:33 -08:00
Matt Woodrow
4cdb8e73d2 Bug 1108917 - Part 2: Allow eviction of entire decoders that are ahead of the current play position. r=ajones 2014-12-11 10:50:41 +13:00
Matt Woodrow
3073c1ec35 Bug 1109431 - Apply TimestampsFuzzyEqual rounding to the buffered ranges returned from multiple decoders. r=ajones 2014-12-11 10:52:57 +13:00
Matt Woodrow
601a0147d1 Bug 1108917 - Part 1: Attempt to evict data from decoders in start-time order. r=ajones 2014-12-11 10:49:54 +13:00
Wes Kocher
d43fd4f419 Backed out 2 changesets (bug 1108917) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset e278ad9face8 (bug 1108917)
Backed out changeset 5c24dfe0cf87 (bug 1108917)
2014-12-10 15:53:21 -08:00
Wes Kocher
1c7227e9e3 Backed out changeset 0b71e08f9d34 (bug 1109431) for mochitest-2 bustage on a CLOSED TREE 2014-12-10 15:52:47 -08:00
Matt Woodrow
f02ee7e40f Bug 1109431 - Apply TimestampsFuzzyEqual rounding to the buffered ranges returned from multiple decoders. r=ajones
--HG--
extra : rebase_source : 1ca8f7910db619b90fdc9478bb0dc52a5d16693b
2014-12-11 10:52:57 +13:00
Matt Woodrow
fe983b9546 Bug 1108917 - Part 2: Allow eviction of entire decoders that are ahead of the current play position. r=ajones
--HG--
extra : rebase_source : fc7fbd06e9c0c65de1c5ecb07a7a355fe1f6fbe8
2014-12-11 10:50:41 +13:00
Matt Woodrow
954ee2cc5a Bug 1108917 - Part 1: Attempt to evict data from decoders in start-time order. r=ajones
--HG--
extra : rebase_source : c906ca08b4a984a7b3e2ef1cdcaea810b5f5777d
2014-12-11 10:49:54 +13:00
Bobby Holley
0e99e7de95 Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-10 14:03:56 -08:00
Karl Tomlinson
97a59cd4b8 bug 1108846 notify MediaSourceDecoder of bytes downloaded to trigger progress events r=kinetik
--HG--
extra : rebase_source : d13f3a9c46cce745cffc86a179875f34e7a52428
2014-12-10 10:45:06 +13:00
Bobby Holley
55609f006c Bug 1108707 - Make reader shutdown asynchronous. r=cpearce (relanding on a CLOSED TREE because it wasn't the source of the leaks) 2014-12-09 11:43:21 -08:00
Ryan VanderMeulen
85f812e9de Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
CLOSED TREE
2014-12-09 15:49:38 -05:00
Bobby Holley
eb400f0f59 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce 2014-12-09 11:43:21 -08:00
Ehsan Akhgari
0ad89a5bb3 Bug 1108687 - Fix the MOZ_STACK_CLASS annotation on DecodersToInitialize; r=jyavenard
The attribute syntax should appear after class.

--HG--
extra : rebase_source : 2793470bf5bcd8b701729906987ce9958016b4e7
2014-12-08 23:24:55 -05:00
Bobby Holley
301ee83ed7 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Ryan VanderMeulen
8b716a35b2 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
8aa19738d9 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley
bd16d69b15 Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley
142c54bbb7 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley
bcf960613c Backed out changeset 47c97b8b490c (bug 1097823) 2014-12-07 17:09:04 -08:00
Bobby Holley
38f9a34097 Backed out changeset 1ea671313ad3 (bug 1097823) 2014-12-07 17:09:03 -08:00
Bobby Holley
5ab82a9fe6 Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley
a58bd0270b Bug 1097823 - Followup to remove the assertions cpearce asked for because they don't hold. rpending=cpearce 2014-12-07 15:41:46 -08:00
Bobby Holley
eab5796fe5 Bug 1097823 - Followup to avoid null-derefing when promises have already been rejected during shutdown. rpending=cpearce 2014-12-07 15:08:47 -08:00
Bobby Holley
b007d59daf Bug 1097823 - Followup fix to ensure that the borrowed task queue doesn't get destroyed before subdecoders shut down. rpending=cpearce 2014-12-07 13:25:11 -08:00
Bobby Holley
0fea43410f Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley
5f6567b606 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
6f72e4759f Bug 1104964 - Make MediaDecoderReader own the task queue. r=cpearce 2014-12-01 21:51:03 -08:00
Bobby Holley
a51815e6f2 Bug 1104964 - Split shutdown initiatation and queue-drain-waiting into separate pieces. r=cpearce
This patch shouldn't change any behavior. The upcoming patch takes advantage of
these separate pieces.
2014-12-01 21:51:02 -08:00
Matt Woodrow
ddb3346974 Bug 1102647 - Always call Shutdown when removing decoders from TrackBuffer. r=karlt 2014-11-28 13:20:09 +13:00
Matt Woodrow
3734895cea Bug 1105553 - Handle 'CANCELLED' NotDecodedReason in MediaSourceReader. r=ajones 2014-11-28 13:17:32 +13:00
Trevor Saunders
333d3d2125 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Matt Woodrow
622ca6978c Bug 1098678 - Implement TimestampsFuzzyEqual for mp4. r=ajones 2014-11-26 16:50:29 +13:00
Kai-Zhen Li
4cc4024715 Bug 1102144 - Move MOZ_FMP4 code into related compiled flag. r=ajones,bwu 2014-11-21 11:48:22 +08:00
Chris Double
b62179da9e Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karlt
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource
duration is changed instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called
more than once due to DurationChange.

--HG--
extra : rebase_source : d4c96b982ffa9f5cd0b24e6e3a4ef5dffe9be6f6
2014-11-19 17:16:41 +13:00
Bobby Holley
6505e9257e Bug 1100776 - Reference-count MediaData. r=cpearce 2014-11-19 13:01:10 -08:00
Jean-Yves Avenard
84c46a058e Bug 1100913 - Fix incorrect playback of MSE with HE-AAC audio streams. r=cajbir 2014-11-18 23:23:00 +11:00
Chris Double
b22d071a6f Backout e62c37b8e6b5 for Mulet test failure 2014-11-19 16:00:09 +13:00
Chris Double
dd54ff036e Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource duration
is changed instead of calling Remove on SourceBuffers. Updates tests for the
fact that update{start,end} can now be called more than once due to DurationChange.

--HG--
extra : rebase_source : e718144ba2c36b4fa0194719e7f06fe6e931e292
2014-11-19 10:58:51 +13:00
Anthony Jones
192f060f8c Bug 1036849 - Create SharedDecoderManager and SharedDecoderProxy; r=blakewu 2014-11-05 02:14:00 +13:00
Bobby Holley
4c9ad6bb85 Bug 1099187 - Use fuzz factor for currentTime in addition to duration. r=karlt 2014-11-18 09:58:53 -08:00
Wes Kocher
38e06be6be Backed out changeset 46b6cb002a34 (bug 1036849) for leaks on a CLOSED TREE 2014-11-17 17:16:25 -08:00
Anthony Jones
180e8676fe Bug 1036849 - Create ShareDecoderManager and SharedDecoderProxy; r=blakewu 2014-11-05 02:14:00 +13:00
Matt Woodrow
188781c434 Bug 1098022 - Use Maybe<T> for mLastEndTimestamp in TrackBuffer to differentiate between 0 and unset. r=ajones 2014-11-14 17:12:48 +13:00