JW Wang
42b559fb41
Bug 1128420 - remove finished output streams from MediaDecoder::mOutputStreams. r=roc.
2015-02-10 10:45:41 +08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Matthew Gregan
1fa4d0508d
Bug 1130923 - Remove some DASHDecoder remnants: RestrictedAccessMonitor and GetByteRangeForSeek. r=cpearce
2015-02-10 11:59:20 +13:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
JW Wang
3ff6f200ed
Bug 1128411. Part 1 - fix some bugs in MediaDecoderStateMachine::SendStreamData(). r=roc.
2015-02-02 13:53:54 +08:00
JW Wang
99e95e2eff
Bug 1127171 - Put mozCaptureStream operations in the same lock. r=roc
2015-01-28 18:57:00 -05:00
Bobby Holley
1857056827
Bug 1120241 - Schedule the state machine when setting logical decoder state. r=cpearce
2015-01-29 22:16:28 -08:00
Sotaro Ikeda
4c24c6b995
Bug 1123452 - Try to enter dormant state when document is hidden r=cpearce
2015-01-28 06:31:31 -08:00
Ryan VanderMeulen
6705017b40
Backed out changeset fad4fd21ab1d (bug 1123452) for Windows w-p-t failures and Linux mochitest orange.
...
CLOSED TREE
2015-01-27 22:00:41 -05:00
Sotaro Ikeda
4213600de8
Bug 1123452 - Make Mp4Reader enter dormant state when it is idle and its document is hidden. r=cpearce
2015-01-28 13:56:58 +13:00
Carsten "Tomcat" Book
67dca2efae
Backed out changeset 304e3ccaf533 (bug 1123452) for windows crashtest bustage on a CLOSED TREE
2015-01-27 09:39:41 +01:00
Sotaro Ikeda
d0a7d92c04
Bug 1123452 - Make Mp4Reader enter dormant state when it is idle and its document is hidden. r=cpearce
2015-01-27 19:30:11 +13:00
Sotaro Ikeda
4f70eb3f49
Bug 1124957 - Fix typo of Dormant r=cpearce
2015-01-23 07:00:39 -08:00
Sotaro Ikeda
4f96a3066c
Bug 1122228 - Use document's status change to trigger MediaDecoderStateMachine's dormant status change r=cpearce
2015-01-21 20:01:12 -08:00
Karl Tomlinson
bf16b65e70
bug 1123189
Queue "durationchange" instead of dispatching synchronously r=cpearce
...
http://www.w3.org/TR/2014/REC-html5-20141028/embedded-content-0.html#offsets-into-the-media-resource
"When the length of the media resource changes to a known value (e.g. from
being unknown to known, or from a previously established length to a new
length) the user agent must queue a task to fire a simple event named
durationchange at the media element."
--HG--
extra : rebase_source : 531ed14a241546613cf810cd6bf9b4a8c88d2d9e
extra : histedit_source : 86253e972d1dbb8f95af5167eb7487c1ddf6da14
2015-01-19 17:11:43 +13:00
Bobby Holley
986f783e03
Bug 1121692 - Make seeks cancelable. r=cpearce,r=mattwoodrow
2015-01-16 10:58:00 -08:00
Sotaro Ikeda
e662668d12
Bug 1110343 - Suppress redundant loadedmetadata event when dormant exit r=cpearce
2015-01-16 07:56:19 -08:00
Sotaro Ikeda
8ebcff8383
Bug 1121658 - Remove DestroyDecodedStream() from MediaDecoder::SetDormantIfNecessary() r=roc
2015-01-16 06:56:14 -08:00
Jonathan Hao
e56901c3a0
Bug 1080461 - Part 2: Fix RTSP autoplay. r=bechen, r=jwwang
2015-01-06 09:58:04 +08:00
Karl Tomlinson
98e1dfd45e
bug 975782 bring media resource loads out of background while they delay the load event r=cpearce
...
This will happen after a stalled load doesn't delay the load event but such a
load then delays the load event again when it receives progress.
--HG--
extra : rebase_source : a04dd7416f86306cfc62aabba20fb30415572d98
2014-12-23 14:16:05 +13:00
Alastor Wu
b357dcd13a
Bug 1105913 - [b2g] video can't playback after waking up from the dormant state, part 2 : revert changeset. r=roc.
2014-12-23 15:03:15 +08:00
Alastor Wu
35e5ba65a8
Bug 1105913 - [b2g] video can't playback after waking up from the dormant state, part 1 : avoid blocking. r=roc.
2014-12-23 15:04:20 +08:00
Jonathan Hao
4871501fd9
Bug 1111518 - Fix the logic in MediaDecoder::CanPlayThrough(). r=jwwang
2014-12-17 15:05:40 +08:00
Alastor Wu
50d890e0f7
Bug 1100803 - Re-create a decoded media stream if necessary. r=roc
2014-12-15 09:22:15 +08:00
Alastor Wu
bf3526619d
Bug 1100803 - Avoid repeated deletion of media ports. r=roc
2014-12-11 10:53:00 +08:00
Sotaro Ikeda
e32c11d714
Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce
2014-12-12 17:29:24 -08:00
Karl Tomlinson
d21db9fc16
bug 1108838 move stalled/progress timing from MediaDecoder to HTMLMediaElement r=cpearce
...
This provides that mNetworkState is available for determining whether progress
notification from the resource/MediaCache after stalled should resume progress
events. The timer will be stopped while stalled in a subsequent patch, and
should not be restarted unless NETWORK_LOADING.
--HG--
extra : rebase_source : e335555de404f6a899762be3c05b8f5444c357e3
2014-11-28 12:17:18 +13:00
Karl Tomlinson
42023d1511
bug 1108787 use NowLoRes() for progress event timing r=cpearce
...
Precision is not required, and is more costly on some platforms.
--HG--
extra : rebase_source : de36a0d249a89e579a7433f40c89b339f7db5b49
2014-11-21 15:45:29 +13:00
Karl Tomlinson
4834bbd250
bug 1108787 dispatch progress even when timer runs late r=cpearce
...
avoiding skipping progress events when data is received only soon after the
previous progress event.
--HG--
extra : rebase_source : 5108ae7d91bac613ed67f85c0963c6ca020bee07
2014-11-21 17:37:44 +13:00
Bobby Holley
138a71a52a
Bug 1097823 - Implement Media Promises. r=cpearce
2014-12-08 14:45:37 -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
1a45088976
Bug 1097823 - Implement Media Promises. r=cpearce
2014-12-08 11:34:50 -08:00
Andreas Pehrson
27ed59b426
Bug 1106963 - Resync media stream clock before destroying decoded stream. r=roc
2014-12-04 19:29:00 +01:00
Bobby Holley
b55769853e
Backed out changeset b56e5e762329 (bug 1097823)
2014-12-07 17:09:09 -08:00
Bobby Holley
ecd1b4cbb2
Bug 1097823 - Implement Media Promises. r=cpearce
2014-12-07 11:21:34 -08:00
awake
58280aba48
Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted
2014-11-28 01:20:00 -08:00
Bobby Holley
19f7e785c2
Bug 1096597 - Switch to buffering mode on WAITING_FOR_DATA. r=cpearce
2014-11-11 20:50:22 -08:00
Bobby Holley
d547accf22
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
68c0ab5cf5
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
25acd590ea
Bug 1065827 - Invalidate video frame container during FirstFrameLoaded. r=jwwang
2014-11-06 20:56:56 +11:00
Jean-Yves Avenard
48cf285b42
Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang
2014-11-06 20:52:44 +11:00
Jean-Yves Avenard
571d088f61
Bug 1065827 - Start MediaDecoder playback state in LOADING. r=cpearce
2014-10-28 20:10:08 +11:00
Carsten "Tomcat" Book
4cbd3e2588
Backed out changeset aebe859551b3 (bug 1065827) for perma failures in m2 tests on a CLOSED TREE
2014-11-06 14:59:44 +01:00
Carsten "Tomcat" Book
b645513227
Backed out changeset 44f27b3c35d4 (bug 1065827)
2014-11-06 14:59:04 +01:00
Carsten "Tomcat" Book
fd44a4451b
Backed out changeset a6540a77d6f7 (bug 1065827)
2014-11-06 14:58:57 +01:00
Carsten "Tomcat" Book
d63ae3fd40
Backed out changeset 70a72a19cb4b (bug 1093654)
2014-11-06 14:58:53 +01:00
Jean-Yves Avenard
76d6d44c61
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
96a116324c
Bug 1065827 - Invalidate video frame container during FirstFrameLoaded. r=jwwang
2014-11-06 20:56:56 +11:00
Jean-Yves Avenard
5d9d3cd793
Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang
2014-11-06 20:52:44 +11:00