Commit Graph

101 Commits

Author SHA1 Message Date
JW Wang
ca9b1829a7 Bug 1184010 - Put Mirrors/Canonicals together. r=jya. 2015-07-17 13:00:26 +08:00
Chris Pearce
4471953140 Bug 1182928 - Disable dormant mode for EME videos in Firefox Beta and Release. r=sotaro 2015-07-14 12:17:07 +12:00
Bobby Holley
cfc2efb3e7 Bug 1179499 - Dispatch NotifyPlayback{Started,Stopped}. r=jww 2015-07-02 19:26:24 -07:00
Bobby Holley
bb1f9a0082 Bug 1179499 - Assert NS_IsMainThread on a bunch of MediaDecoder methods. r=jww 2015-07-02 19:26:24 -07:00
Bobby Holley
7ff89b25af Bug 1178938 - Mirror shutdown-ness from the MDSM to the MD. r=jww 2015-07-02 12:38:44 -07:00
Bobby Holley
2324e58fb3 Bug 1178437 - Do the dormant-enabled tracking on the main thread. r=jww,r=jya
This is purely a question of policy, so there's no reason it needs to live on
the off-main-thread decoding machinery.
2015-07-01 18:47:41 -07:00
JW Wang
fdfaf1fa60 Bug 1178680 - Remove MediaDecoder::Observe as we have MediaShutdownManager. r=cpearce. 2015-07-01 11:46:38 +08:00
Bobby Holley
3985c88eb7 Bug 1175768 - Throttle NotifyDataArrived. r=jya 2015-06-27 01:19:14 -07:00
Bobby Holley
a80e87862b Bug 1175768 - Use mirroring for buffered ranges. r=jya 2015-06-27 01:19:13 -07:00
Bobby Holley
f25ea07acc Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-27 01:19:10 -07:00
Bobby Holley
a269ea96b4 Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-27 01:19:07 -07:00
Ryan VanderMeulen
d9ca5de3ed Backed out 8 changesets (bug 1175768) for frequent media test failures.
Backed out changeset a369cfb95b59 (bug 1175768)
Backed out changeset e02dd312d622 (bug 1175768)
Backed out changeset 6776ce74b9e5 (bug 1175768)
Backed out changeset 6aa5fa1d318e (bug 1175768)
Backed out changeset a8bd7a0d2aea (bug 1175768)
Backed out changeset 41ffc9a9ac48 (bug 1175768)
Backed out changeset 2d2cefa397dc (bug 1175768)
Backed out changeset 4e06368496d2 (bug 1175768)

CLOSED TREE
2015-06-23 16:20:15 -04:00
Bobby Holley
6925b1f100 Bug 1175768 - Throttle NotifyDataArrived. r=jya 2015-06-22 22:53:09 -07:00
Bobby Holley
5c20ea36aa Bug 1175768 - Use mirroring for buffered ranges. r=jya 2015-06-22 22:53:09 -07:00
Bobby Holley
23c16e6894 Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-22 22:53:07 -07:00
Bobby Holley
56422fb439 Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-22 22:53:06 -07:00
Bobby Holley
a145818bdf Bug 1172264 - Watch mStateMachineDuration, and stop manually firing DurationChanged. r=jww 2015-06-17 09:49:11 -07:00
Bobby Holley
a1ebe95511 Bug 1172264 - Route mExplicitDuration directly from the mediasource code to MediaDecoder, and stop passing an argument to DurationChanged. r=pending=jww 2015-06-17 09:49:10 -07:00
Bobby Holley
56a6ea9edb Bug 1172264 - Mirror duration from the MDSM to the MediaDecoderReader and remove MDSM::GetDuration. r=jww 2015-06-17 09:49:10 -07:00
Bobby Holley
2aa4ae8328 Bug 1172264 - Mirror duration from the MDSM to the MediaDecoder. r=jww 2015-06-17 09:49:09 -07:00
Bobby Holley
91cfeb8f8f Bug 1172264 - Switch MediaDecoder's mDuration represenation to a double. r=jww 2015-06-17 09:49:09 -07:00
Jean-Yves Avenard
0b224435dc Bug 1171330: P9. Remove "Diamond Problem" with MediaDecoder inheritance. r=cpearce
--HG--
extra : rebase_source : a8116bf4cdcf3910dbcbf68ba7adb36e6c9d2e04
2015-06-11 15:55:20 +10:00
Bobby Holley
aa6c9ce796 Bug 1160695 - Drop Support for Content-Duration. r=cpearce 2015-06-08 09:22:46 -07:00
Bobby Holley
6af84ec47e Bug 1160695 - Track demuxer-estimated duration separately. r=jww 2015-06-08 09:22:37 -07:00
Bobby Holley
54cc593e26 Bug 1160695 - Track explicit (mediasource) duration separately. f=jww,rpending=jya 2015-06-08 09:22:28 -07:00
Bobby Holley
027a3eaded Bug 1160695 - Make MediaDecoder::DurationChanged take a duration argument rather than reading it back synchronously from the MDSM. r=jww 2015-06-08 09:21:23 -07:00
Bobby Holley
f83f94efbb Bug 1160695 - Track "metadata duration" separately and mirror it to MediaDecoderReader. r=jww 2015-06-08 09:21:22 -07:00
Bobby Holley
1893956886 Bug 1160695 - Track "network duration" separately and mirror it to the MDSM. r=jww 2015-06-08 09:21:20 -07:00
Bobby Holley
80857671e7 Bug 1168008 - Replace 'Consumer' with 'Request' in MediaPromise naming. r=jww
I think this makes more sense, and it matches the naming convention that all
of the consumers of this stuff are actually using.
2015-05-28 16:03:10 -07:00
JW Wang
341b29f73c Bug 1163467. Part 6 - refactor MediaDecoder::AddOutputStream and move related code to MediaDecoderStateMachine. r=roc. 2015-05-28 14:17:30 +08:00
JW Wang
66e3c00ee3 Bug 1163467. Part 5 - move MediaDecoder::UpdateStreamBlockingForPlayState to MediaDecoderStateMachine. r=roc. 2015-05-28 14:16:59 +08:00
JW Wang
f6643b3d27 Bug 1163467. Part 4 - move MediaDecoder::UpdateStreamBlockingForStateMachinePlaying to MediaDecoderStateMachine. r=roc. 2015-05-28 14:16:42 +08:00
JW Wang
e2adc230bf Bug 1163467. Part 2 - rename MediaDecoder::UpdateDecodedStream to MediaDecoder::UpdateStreamBlockingForPlayState. r=roc. 2015-05-28 14:16:16 +08:00
JW Wang
838880e42a Bug 1163497. Part 5 - remove unused functions. r=roc. 2015-05-26 10:22:03 +08:00
JW Wang
4db24fa288 Bug 1163497. Part 2 - Remove MediaDecoder::DestroyDecodedStream(). r=roc. 2015-05-10 12:26:03 +08:00
JW Wang
61664897b5 Bug 1163497. Part 1 - remove MediaDecoder::ConnectDecodedStreamToOutputStream(). r=roc. 2015-05-10 12:16:38 +08:00
JW Wang
9f91817088 Bug 1163474. Part 2 - move MediaDecoder::mOutputStreams to DecodedStream. r=roc. 2015-05-10 11:57:46 +08:00
JW Wang
ddd8ef7478 Bug 1163474. Part 1 - Create a wrapper class to which MediaDecoder::mOutputStreams will move. r=roc. 2015-05-10 11:48:05 +08:00
Jean-Yves Avenard
54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
JW Wang
f34e30b2c4 Bug 1163469 - Move MediaDecoder::DecodedStreamData and related code to its own file. r=roc. 2015-05-10 11:38:15 +08:00
Benjamin Chen
e7bed7a4c5 Bug 1140995 - Part 1 - At end of stream, send the last video frame to decoded stream with deviation usec if the last video frame's duration is 0. r=jwwang
--HG--
extra : rebase_source : 4aedc130f6ce2e350836accdd9b6b1e6d0e8706c
2015-04-22 18:19:19 +08:00
Bobby Holley
22d027c1ad Bug 1162803 - Mirror playback position. r=jww,r=sotaro 2015-05-11 11:16:07 -07:00
Bobby Holley
973ebd793d Bug 1161901 - Make MDSM::ScheduleStateMachine runs on the state machine task queue only. r=jww 2015-05-07 09:50:35 -07:00
Sotaro Ikeda
aef8cc58bd Bug 1158448 Part 2 - Remove ApplyStateToStateMachine and PLAY_STATE_SEEKING r=jwwang,bwu 2015-05-07 08:19:46 -07:00
Sotaro Ikeda
1c5c106f78 Bug 1158448 Part 1 - Replace MDSM::Play with a state-watcher on mPlayState and eliminate ApplyStateToStateMachine. r=sotaro 2015-05-07 08:19:33 -07:00
Bobby Holley
d4519a33a2 Bug 1159974 - Mirror mPreservesPitch. r=jww 2015-05-04 11:04:47 -07:00
Bobby Holley
d594a72f36 Bug 1159974 - Mirror mPlaybackRate. r=jww 2015-05-04 11:04:46 -07:00
Bobby Holley
49578f1914 Bug 1159974 - Mirror mVolume. r=jww 2015-05-04 11:04:45 -07:00
Bobby Holley
a1d3d9cfba Bug 1159987 - Let consumers declare Mirror<T> rather than Mirror<T>::Holder. r=jww 2015-04-30 12:46:45 -07:00
Bobby Holley
cb346fb2da Bug 1159987 - Let consumers declare Canonical<T> rather than Canonical<T>::Holder. r=jww
The current mechanism is slightly more pure from an implementation-perspective,
but a lot more confusing for consumers. After some thought, I think we should flip
them around.

This patch does Canonical - I'll do Mirror in the next patch.
2015-04-30 12:46:43 -07:00