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
Jean-Yves Avenard
29097ace99
Bug 1097260 - Ensure video dimensions are known when loadedmetadata is fired. r=cajbir
2014-11-12 20:19:29 +11:00
Chris Double
20152383cf
Back out ea9e204bc97a for test failure on Android.
2014-11-13 15:38:56 +13:00
Chris Double
4fa7b9d355
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 : efe01de2f7c6be09b29e2e19d69d9943c9ab5e52
2014-11-13 10:47:31 +13:00
Matt Woodrow
d49117d925
Bug 1097375 - Implement MediaSource::setDuration. r=kinetik
...
--HG--
extra : rebase_source : 7e5f5387de5db3deccc6e74222b32f461359beb2
2014-11-12 17:11:33 +13:00
David Major
e70355d1e5
Bug 1091008 bustage fix - the second parameter was unused and removed by changeset 6907c1cb8bc0 CLOSED TREE
...
--HG--
extra : amend_source : 70685616cb814de1f0d8fc641b626682905075e3
2014-11-12 18:24:29 +13:00
Bobby Holley
6bb6f36de7
Bug 1093020 - Tests. r=karlt
2014-11-11 20:50:22 -08:00
Bobby Holley
356c46f407
Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce
2014-11-11 20:50:22 -08:00
Bobby Holley
21c29c6312
Bug 1063323 - Tests. r=cajbir
2014-11-11 20:50:22 -08:00
Bobby Holley
c2ce46072f
Bug 1091008 - Remove special handling for MSE in HTMLMediaElement::Buffered. r=cajbir
...
The same code will now be reached by invoking this method on the decoder.
2014-11-11 20:50:21 -08:00
Bobby Holley
d114248ee6
Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir
2014-11-11 20:50:21 -08:00
Bobby Holley
a8b29b832b
Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
...
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Bobby Holley
bb3c4d25f1
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-11 20:50:20 -08:00
Bobby Holley
882a2e8acd
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
Chris Double
88a86034eb
Backout 471009c10ae0 for web platform test failure on CLOSED TREE
2014-11-12 17:13:10 +13:00
Anthony Jones
20feb4c8fb
Bug 1096157 - Add IsMediaSegmentPresent() for MP4; r=mattwoodrow
2014-11-12 16:37:43 +13:00
Chris Double
1078731c5e
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.
2014-11-12 15:53:43 +13:00