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
Chris Double ext:(%20with%20tweaks%20by%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
ff5415dbf5
Bug 1089937 Add a fuzz time to end times for MSE reader switching on EOS r=karl,mattwoodrow
...
mLast{Audio,Video}Time differs from the actual end time because of
Bug 1065207 - the duration of a WebM fragment is an estimate not the
actual duration. In the case of audio time an example of where they
differ would be the actual sample duration being small but the
previous sample being large. The buffered end time uses that last
sample duration as an estimate of the end time duration giving an end
time that is greater than mLastAudioTime, which is the actual sample
end time.
Reader switching is based on the buffered end time though so we can't use
the actual sample end time for switching comparison.
For this reason we use the end time from the buffers to compare if we
should switch readers in this patch. We also add an EOS_FUZZ_US to allow
for the fact that it is an estimate and can differ slightly from actual times.
--HG--
extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef
2014-11-12 12:12:21 +13:00
Anthony Jones
7d635003be
Bug 1091976 - Process MP4Reader::NotifyDataArrived() immediately; r=edwin
2014-11-10 13:32:09 +13:00
Jean-Yves Avenard
a2f79473ba
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
ad2a269a99
Bug 1092979 - Add mochitest to ensure loadedmetada is emitted as early as possible. r=cajbir
2014-11-06 21:03:39 +11:00
Jean-Yves Avenard
832ad94e23
Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang
2014-11-06 20:52:44 +11:00
Anthony Jones
4d4119cb1a
Bug 1092096 - Separate MSE prefs for MP4 and WebM on a CLOSED TREE. r=cajbir
2014-10-31 23:09:49 +13:00
Carsten "Tomcat" Book
121ca1d0c2
Backed out changeset 44f27b3c35d4 (bug 1065827)
2014-11-06 14:59:04 +01:00
Carsten "Tomcat" Book
df4b3dd3a6
Backed out changeset 1c969fba2f64 (bug 1092979)
2014-11-06 14:58:56 +01:00
Carsten "Tomcat" Book
4a64f5eae6
Backed out changeset 70a72a19cb4b (bug 1093654)
2014-11-06 14:58:53 +01:00
Carsten "Tomcat" Book
57f12dbfa0
Backed out changeset 1d058cefd04f (bug 1092096) for m2 test failures
2014-11-06 13:19:59 +01:00
Jean-Yves Avenard
c3bd7c5413
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
24094f6812
Bug 1092979 - Add mochitest to ensure loadedmetada is emitted as early as possible. r=cajbir
2014-11-06 21:03:39 +11:00
Jean-Yves Avenard
8f6e3e468e
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
92008ff307
Backed out changeset 04d5a617450f (bug 1092979) for needed checkin of another bug first
2014-11-06 10:27:10 +01:00
Anthony Jones
c95216d4a3
Bug 1092096 - Separate MSE prefs for MP4 and WebM; r=cajbir
2014-10-31 23:09:49 +13:00
Jean-Yves Avenard
40d8fe81fd
Bug 1093880 - Delay decoder initialization until data has been appended. r=cajbir
2014-11-06 15:09:19 +11:00
Jean-Yves Avenard
710fec23b0
Bug 1092996 - MSE/WebM: limit size read to what is available. r=kinetik
2014-11-06 19:08:04 +11:00
Jean-Yves Avenard
02942a537e
Bug 1092979 - Add mochitest to ensure loadedmetada is emitted as early as possible. r=cajbir
2014-11-04 10:58:56 +11:00
Matt Woodrow
db4069d772
Bug 1056441 - Make MediaSourceReader seeking asynchronous. r=kinetik
2014-11-05 13:32:26 +13:00
Matt Woodrow
ca88a23260
Bug 1062661 - Part 1: Discard decoders that don't have any data in them. r=karlt
2014-11-04 11:16:34 +13:00
Matt Woodrow
35792c7281
Bug 1062661 - Part 1: Fix ResourceQueue::Evict so that it tries to remove enough data to get us under the threshold. r=kinetik
2014-11-04 11:16:31 +13:00
Carsten "Tomcat" Book
d3a4dbb05e
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
86a6d12070
Bug 1093020 - Tests. r=karlt
2014-11-05 10:09:00 +01:00
Bobby Holley
99250f7b44
Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce
2014-11-05 10:09:00 +01:00
Bobby Holley
c19b9225dd
Bug 1063323 - Tests. r=cajbir
2014-11-05 10:08:59 +01:00
Bobby Holley
b63e786a99
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-05 10:08:59 +01:00
Bobby Holley
0db9b673dd
Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir
2014-11-05 10:08:59 +01:00