Bobby Holley
a0d81c0d41
Bug 1162803 - Mirror playback position. r=jww,r=sotaro
2015-05-11 11:16:07 -07:00
Bobby Holley
45dbd4b054
Bug 1162803 - Rename mCurrentFrameTime to mCurrentPosition to better match the naming in the spec. r=jww
...
This field corresponds to the "current playback position" in HTML5.
2015-05-11 11:16:06 -07:00
Karl Tomlinson
3cb207a4c9
bug 1161892 use separate thread pool for platform decoder task queues r=bholley
...
so that platform decoder tasks will run when their readers wait and block
their thread pool.
2015-05-07 16:01:43 +12:00
Bobby Holley
2cc0668dc1
Bug 1161901 - Sprinkle more assertions and fix some formatting. r=jww
2015-05-07 09:50:37 -07:00
Bobby Holley
cea37f3b76
Bug 1161901 - Make MDSM::ScheduleStateMachine runs on the state machine task queue only. r=jww
2015-05-07 09:50:35 -07:00
Bobby Holley
c8c48c0fe3
Bug 1161901 - Relax assertion. r=jww
2015-05-07 09:47:40 -07:00
Bobby Holley
8b08a0cf5f
Bug 1161901 - Hoist MDSM shutdown logic into MDSM::Shutdown and remove brittle requirement that RunStateMachine only happen once in SHUTDOWN state. r=jww
2015-05-07 09:47:40 -07:00
Bobby Holley
a5774b6f01
Bug 1161901 - Use ProxyMediaCall instead of MDSM::ShutdownReader. r=jww
2015-05-07 09:47:39 -07:00
Bobby Holley
7161a47ddd
Bug 1161901 - Dispatch MediaDecoderReader::SetIdle directly. r=jww
2015-05-07 09:47:39 -07:00
Sotaro Ikeda
1e00699f6d
Bug 1158448 Part 2 - Remove ApplyStateToStateMachine and PLAY_STATE_SEEKING r=jwwang,bwu
2015-05-07 08:19:46 -07:00
Sotaro Ikeda
5427845b1c
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
d19fca66d6
Bug 1161742 - Use lambdas for Seek. r=jww
2015-05-05 21:04:30 -07:00
Bobby Holley
8d2b3ec6e8
Bug 1161742 - Use lambdas for WaitForData. r=jww
2015-05-05 21:02:59 -07:00
Bobby Holley
9de09ebbe4
Bug 1159974 - Dispatch SetMinimizePrerollUntilPlabackStarts. r=jww
2015-05-04 11:04:48 -07:00
Bobby Holley
2dc2956ab8
Bug 1159974 - Dispatch SetAudioCaptured. r=jww
...
While we're at it, I figured it was time to experiment with lambdas. :-)
2015-05-04 11:04:47 -07:00
Bobby Holley
01e76f93e4
Bug 1159974 - Mirror mPreservesPitch. r=jww
2015-05-04 11:04:47 -07:00
Bobby Holley
4e641a4123
Bug 1159974 - Mirror mPlaybackRate. r=jww
2015-05-04 11:04:46 -07:00
Bobby Holley
7efe532a64
Bug 1159974 - Mirror mVolume. r=jww
2015-05-04 11:04:45 -07:00
Bobby Holley
67e8197d25
Bug 1159974 - Assert that we're on the state machine thread for most remaining MDSM methods. r=jww
...
There are a handful of methods where we can't yet assert this. This bug will
tackle several of them.
2015-05-04 11:04:45 -07:00
Jean-Yves Avenard
1973af205a
Bug 1157075: Part1. Rename and make AsyncReadMetadata virtual. r=bholley
2015-05-01 15:37:29 +10:00
Bobby Holley
8a43ce3ce0
Bug 1160064 - Give WatchManager an owner thread and make sure everything happens there. r=jww
2015-04-30 21:29:50 -07:00
Bobby Holley
f1e2ad39fb
Bug 1160064 - Do watching/mirroring initialization on the state machine task queue. r=jww
...
We take this as an opportunity to remove connect-during-initialization. Always
connecting from the owner thread feels like a stronger invariant.
2015-04-30 21:29:49 -07:00
Bobby Holley
32377cc6c5
Bug 1160064 - Switch mirror/canonical initialization to happen in the constructor. r=jww
...
The goal here is to hoist all meaningful watcher/mirror/canonical manipulation
onto the owner thread. But since that must necessarily happen asynchronously,
we need to make sure that canonicals are in a sane state immediately upon
creation, since otherwise a mirror from another thread may attempt to connect to
a not-yet-initialized canonical.
2015-04-30 21:29:48 -07:00
Bobby Holley
63ce4c9d09
Bug 1160064 - Initialize the state machine task queue in the initializer list. r=jww
2015-04-30 21:29:46 -07:00
Bobby Holley
dc8cc8f105
Bug 1159558 - Redesign watching to use a manager. r=jww
2015-04-30 12:46:40 -07:00
Bobby Holley
af73e74f6d
Bug 1159558 - Eliminate initial notifies. r=jww
...
They've proven themselves to be a hassle, and I think we can live without them.
2015-04-30 12:46:38 -07:00
Bobby Holley
859433f1b7
Bug 1157803 - Mirror mPlayState and mNextState to the state machine task queue and eliminate cross-thread access. r=jww
2015-04-28 21:56:20 -07:00
Bobby Holley
e613167523
Bug 1157797 - Use state-watching machinery for UpdateNextFrameStatus. r=jww
...
The ergonomics here aren't ideal. I'm going to file a bug to improve them.
2015-04-27 21:20:41 -07:00
Bobby Holley
96bc3efe2c
Bug 1157797 - Be more disciplined about where we call UpdateNextFrameStatus. r=jww
...
This value depends on mState and the audio/video queue states. Given that, we can
just stick these calls in a few choke points.
2015-04-27 21:20:38 -07:00
L. David Baron
a0129b4a8a
Bug 1157654 - Back out changeset e73f7d6a138d (bug 1140995) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html .
2015-04-25 11:10:37 -07:00
Bobby Holley
1e4f8d4df5
Bug 1144481 - Use state mirroring for NextFrameStatus. r=jww
2015-04-23 11:55:14 -07:00
Bobby Holley
e29dc7039e
Bug 1144481 - Invoke SeekCompleted synchronously. r=jww
...
The current behavior is a holdover from when this some of this tuff was happening
on the decode thread. It's problematic because nothing guarantees that we don't
call CheckIfSeekComplete twice, and queue up two SeekCompleted events.
2015-04-23 11:55:12 -07:00
Benjamin Chen
ffeba9d5b7
Bug 1140995 - part1: 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
2015-04-22 18:19:19 +08:00
Bobby Holley
1ba645d625
Bug 1154805 - Stop manually passing TaskDispatchers everywhere. r=jww
2015-04-16 09:28:56 -07:00
Bobby Holley
5f6ad25612
Bug 1154805 - Remove MaybeTailDispatch. r=jww
...
This is now the default behavior.
2015-04-16 09:28:56 -07:00
Jean-Yves Avenard
84b9d11448
Bug 1153049: Part1. Merge MediaInfo and mp4_demuxer::TrackConfig. r=cpearce
2015-04-14 15:15:46 +10:00
Blake Wu
b6e593501d
Bug 1152218 - Have a larger tolerance to decide if video data is low or not. r=cpearce.
2015-04-08 17:57:18 +08:00
Bobby Holley
df317017f6
Bug 1151656 - Use TailDispatch for the MDSM's task queue. r=mattwoodrow
2015-04-08 21:33:21 -07:00
Bobby Holley
c39072cb1d
Bug 1151656 - Stop doing sync dispatch of PlaybackEnded. r=mattwoodrow
2015-04-08 21:33:18 -07:00
Bobby Holley
09e9d15248
Bug 1151656 - Add some more assertions. r=mattwoodrow
2015-04-08 21:33:17 -07:00
Bobby Holley
b05615f72f
Bug 1148571 - Dispatch AudioSink notifications asynchronously. r=jww
2015-04-08 11:37:18 -07:00
Bobby Holley
99f551b545
Bug 1150687 - Have callers pass an AbstractThread directly to promise APIs and remove wrapper-style AbstractThreads for MediaTaskQueue. r=jww
2015-04-06 11:09:27 -07:00
Kilik Kuo
9c2dc545dc
Bug 1146304 - Touch slider bar or tap forward button, the video got stuck 1s then resume playing. r=cpearce
2015-04-02 16:19:37 +08:00
Alastor Wu
f604a1f723
Bug 1107534 - Using audio channels type to capture different stream. r=roc
2015-03-31 10:14:00 +08:00
Nicolas Silva
a1b30cee6c
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Bobby Holley
b40cc2cc05
Bug 1145686 - Assert state machine thread for SetState. r=jww
...
We assert in CheckInDecodeComplete as well for good measure, since that's the
last caller of SetState that doesn't already assert it.
2015-03-27 16:26:03 -07:00
Bobby Holley
74a27060ba
Bug 1145686 - Make MDSM::StartBuffering happen on the state machine thread. r=jww
2015-03-27 16:26:02 -07:00
Bobby Holley
003447cd59
Bug 1145686 - Make MDSM::Shutdown happen on the state machine thread. r=jww
2015-03-27 16:26:02 -07:00
Bobby Holley
70d83b7bb5
Bug 1144519 - Rename MDSM::OnDecodeThread to MDSM::OnDecodeTaskQueue. r=jya
2015-03-27 11:50:19 -07:00
Bobby Holley
93603b16a4
Bug 1144519 - Rename OnStateMachineThread-like functions to reflect the fact that it's a task queue. r=jya
2015-03-27 11:50:19 -07:00