328 Commits

Author SHA1 Message Date
Bobby Holley
b68a4940ad Bug 1116883 - Allow segment type box at the beginning of a media segment per spec. r=karlt 2015-01-07 15:58:55 -08:00
Karl Tomlinson
8632ca3482 Bug 1116384 keep media element alive from attached MediaSource r=roc
--HG--
extra : rebase_source : 40c3a6b2af35d2c72eb51b442d36269f2c26ac70
2014-12-29 16:18:41 +13:00
Bobby Holley
70f5c9f799 Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt,rs=Ms2ger 2014-12-30 12:22:45 -08:00
Carsten "Tomcat" Book
7acda539a7 Backed out changeset d1f3c8d40cdf (bug 1116355) for breaking w-4 tests on a CLOSED TREE 2014-12-30 09:46:51 +01:00
Bobby Holley
def3e6cbb3 Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt 2014-12-29 23:20:03 -08:00
Ryan VanderMeulen
beb4598a7f Bug 1115148 - Skip test_WaitingOnMissingData.html on Android 2.3 due to high intermittent failure rate. 2014-12-26 12:18:34 -05:00
Bobby Holley
51e382d00c Bug 1114830 - Only enter buffering mode when the pending request is waiting for data. r=cpearce a=philor 2014-12-22 20:54:01 -08:00
Bobby Holley
49601684ad Bug 1109437 - Implement non-polling buffering. r=cpearce 2014-12-22 00:20:31 -08:00
Bobby Holley
05e1250b67 Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
This is necessary to get the state machine moving after it's initialized.
MediaDecoder::Load does this, but it looks like we missed this in the override.
So the current code relies on the ScheduleStateMachine call at the end of
TrackBuffer::AppendData to get things rolling. We're going to be removing that
call, so we need to fix this.
2014-12-22 00:20:31 -08:00
Bobby Holley
05224076bc Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce 2014-12-22 00:20:30 -08:00
Bobby Holley
6a0b2751fe Bug 1092025 - Hold the lock for the entire duration of MediaSourceReader::ReadMetaData. r=karlt 2014-12-21 23:14:59 -08:00
Bobby Holley
6d0ec2b9a3 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley
6de0fd24fb Bug 1113282 - Check during async TrackBuffer decoder initialization to make sure we haven't been shut down. r=cajbir 2014-12-18 13:59:00 +01:00
Carsten "Tomcat" Book
eacfeed59f Backed out changeset 4757a1d4a23e (bug 1113282) for e10s M1 test failures 2014-12-19 09:00:07 +01:00
Bobby Holley
a6dc11c7e3 Bug 1113282 - Check during async TrackBuffer decoder initialization to make sure we haven't been shut down. r=cajbir 2014-12-18 22:26:52 -08:00
Matt Woodrow
675718e2ea Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow
5bb2a0b324 Bug 1112444 - Add a pref to force each appended MSE segment to be in its own decoder. r=ajones 2014-12-18 12:39:34 +13:00
Matt Woodrow
646b842413 Bug 1111413 - Part 2: Remove RequestSampleCallback. r=bholley 2014-12-16 23:08:42 +13:00
Matt Woodrow
2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Chris Pearce
0606140495 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
da72b3891c Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-12 14:22:23 -08:00
Ehsan Akhgari
09a262787c 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
08736c299f Bug 1110595 - Fix MSE playback stalling; r=mattwoodrow 2014-12-12 17:11:51 +13:00
Bobby Holley
ed81da5593 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
6ec9fa2dd8 Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-10 22:38:33 -08:00
Matt Woodrow
c3e46a1ad1 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
e2a0a4d51c 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
34e4d293a1 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
756e64c118 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
dc80961c63 Backed out changeset 0b71e08f9d34 (bug 1109431) for mochitest-2 bustage on a CLOSED TREE 2014-12-10 15:52:47 -08:00
Matt Woodrow
7182f1554c 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
c8cf5fc8d0 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
53e63e0a0c 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
60c0158fdd Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-10 14:03:56 -08:00
Karl Tomlinson
a5bc939348 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
312651fc98 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
073573c2a9 Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
CLOSED TREE
2014-12-09 15:49:38 -05:00
Bobby Holley
fc5e0383a6 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce 2014-12-09 11:43:21 -08:00
Ehsan Akhgari
d60d0c93f5 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
8c9d29f7fe Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Ryan VanderMeulen
0aae88bf85 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
7aa1467674 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley
aa27b00ccd Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley
8327697375 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley
5864562a3f Backed out changeset 47c97b8b490c (bug 1097823) 2014-12-07 17:09:04 -08:00
Bobby Holley
d6b8543ed2 Backed out changeset 1ea671313ad3 (bug 1097823) 2014-12-07 17:09:03 -08:00
Bobby Holley
31f9bf9d0b Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley
da23a71bbe 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
7b4b4838ca 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
3871f53bf6 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