JW Wang
70c080a97b
Bug 1305353. Part 3 - discard audio samples in DecodedStream::NotifyOutput(). r=pehrsons
...
MozReview-Commit-ID: 7o6cdP126ip
2016-09-26 15:25:11 +08:00
Jean-Yves Avenard
628ecaac4b
Bug 1305672: Prevent assertion. r=jwwang
...
Assertion would occur if the duration of decoded samples queued was greater than buffering threshold
MozReview-Commit-ID: CcheIhcmL5S
2016-09-29 00:43:49 +10:00
James Cheng
42e8029df1
Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
...
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08:00
Gerald Squelart
f437f6d9f7
Bug 1247056 - Notify MediaDecoder about Decoder Doctor events from MDSM - r=jwwang
...
MozReview-Commit-ID: Jgt5a2yJugu
2016-09-19 03:38:06 -07:00
JW Wang
1580d0a2ba
Bug 1304336. Part 2 - remove unused canonical/mirror. r=kikuo
...
MozReview-Commit-ID: 9rQcTTrW4Cn
2016-09-21 18:11:00 +08:00
JW Wang
dc500143a1
Bug 1304336. Part 1 - call DispatchSetPlaybackRate() to propagate playback rate changes instead of using a mirror. r=kikuo
...
MozReview-Commit-ID: 5C48bUItQus
2016-09-21 18:06:49 +08:00
JW Wang
406b9f8385
Bug 1304314. Part 3 - take mPlaybackRate into account. r=kikuo
...
MozReview-Commit-ID: 9AQSUJl82fA
2016-09-21 16:30:45 +08:00
JW Wang
3e55565558
Bug 1304314. Part 2 - split the code of HasLowDecodedData() into separate functions which will be reusable. r=kikuo
...
MozReview-Commit-ID: KwNOx1uTdjK
2016-09-21 16:27:40 +08:00
JW Wang
570e982a68
Bug 1304314. Part 1 - remove the parameter of HasLowDecodedData() for we always pass EXHAUSTED_DATA_MARGIN_USECS to it. r=kikuo
...
MozReview-Commit-ID: KMzy6S4hCB9
2016-09-21 16:20:38 +08:00
JW Wang
59cc4d6466
Bug 1303666 - Move the code of StepDecoding() into Decodingstate::Step(). r=kikuo
...
MozReview-Commit-ID: FW7BVyrRA7s
2016-09-06 17:36:53 +08:00
JW Wang
21f81aeb87
Bug 1303665. Part 2 - Move mSentPlaybackEndedEvent into CompletedState. r=kikuo
...
MozReview-Commit-ID: 3JJ25POozsk
2016-09-06 17:33:12 +08:00
JW Wang
ea394283bc
Bug 1303665. Part 1 - Move StepCompleted() into CompletedState::Step(). r=kikuo
...
MozReview-Commit-ID: Gm2osCqwPMS
2016-09-06 17:28:08 +08:00
JW Wang
c8da3495b9
Bug 1303660. Part 3 - Move mBufferingStart into BufferingState. r=kikuo
...
MozReview-Commit-ID: IpTrMl1mWfb
2016-09-06 17:22:29 +08:00
JW Wang
9131678e7e
Bug 1303660. Part 2 - Move the code of StepBuffering() into BufferingState::Step(). r=kikuo
...
MozReview-Commit-ID: 1uGOXV996X
2016-09-06 17:15:51 +08:00
JW Wang
f4c8ce9d89
Bug 1303660. Part 1 - Move some code to BufferingState::Enter() and remove unused functions. r=kikuo
...
MozReview-Commit-ID: G6PrACxfiF5
2016-09-06 17:05:48 +08:00
JW Wang
c4da9a0100
Bug 1300714 - Don't force entering DECODING when playState becomes PLAYING. r=cpearce
...
For it doesn't guarantee a smooth playback with a little data buffered.
MozReview-Commit-ID: 5NNQ4Q8uz39
2016-09-06 16:40:30 +08:00
JW Wang
a28c347ac4
Bug 1303655. Part 3 - Move mDecodeStartTime into Decodingstate. r=kikuo
...
MozReview-Commit-ID: ELUr9AHaE2P
2016-09-06 16:59:02 +08:00
JW Wang
275bd605c4
Bug 1303655. Part 2 - Remove unused functions. r=kikuo
...
MozReview-Commit-ID: 3Y7gVZXledn
2016-09-06 16:54:14 +08:00
JW Wang
1cd9c6d6a9
Bug 1303655. Part 1 - Move some code to Decodingstate::Enter(). r=kikuo
...
MozReview-Commit-ID: JjhmE0cgOn
2016-09-06 16:51:45 +08:00
JW Wang
168ae5afa1
Bug 1300711 - Remove MediaDecoderStateMachine::mQuickBuffering. r=cpearce
...
MozReview-Commit-ID: GW7bhY6ruKG
2016-09-06 16:28:20 +08:00
JW Wang
2f835cdb79
Bug 1302045. Check if we have [GetMediaTime(), GetMediaTime() + aUsecs] in the buffer ranges to decide whether we are in low buffered data. r=cpearce
...
Note we consider [endOfDecodedData, GetMediaTime()] is always in the buffer ranges.
MozReview-Commit-ID: F6ez3KYMjht
2016-09-12 16:20:11 +08:00
JW Wang
f6e4e8eb02
Bug 1302040 - don't enter buffering while prerolling. r=cpearce
...
MozReview-Commit-ID: Br9wC8PNorA
2016-09-12 15:45:36 +08:00
JW Wang
ac65f2a5c5
Bug 1302006. Part 4 - Let StateObject handle dormant request. r=kikuo
...
MozReview-Commit-ID: FK3UwbYDexV
2016-09-12 10:49:46 +08:00
JW Wang
daedc0f439
Bug 1302006. Part 3 - Let SeekingState handle dormant request. r=kikuo
...
MozReview-Commit-ID: ADVsUSpE8Az
2016-09-12 10:41:20 +08:00
JW Wang
a23e475527
Bug 1302006. Part 2 - Let ShutdownState handle dormant request. r=kikuo
...
MozReview-Commit-ID: 1uw7YjQps0i
2016-09-12 10:34:35 +08:00
JW Wang
9c2899926f
Bug 1302006. Part 1 - Let DormantState handle dormant request. r=kikuo
...
MozReview-Commit-ID: 8JqqAnlXzh4
2016-09-06 15:15:48 +08:00
Jean-Yves Avenard
4cbe1931d2
Bug 1299072: P9. Pass decoding error details to MediaDecoder. r=jwwang
...
MozReview-Commit-ID: uXWHhTozon
2016-09-11 00:51:13 +10:00
Jean-Yves Avenard
cd24425136
Bug 1299072: P7. Use MediaResult with MetadataPromise. r=jwwang
...
MozReview-Commit-ID: KrRr8wDuPNT
2016-09-10 19:56:50 +10:00
Jean-Yves Avenard
04fdc747be
Bug 1299072: P6. Pass decoding error details to MDSM and relatives. r=jwwang
...
MozReview-Commit-ID: 4ow2nF6Syz
2016-09-10 16:48:53 +10:00
JW Wang
84d4ed3d01
Bug 1302001. Move some code to WaitForCDMState. r=kaku
...
MozReview-Commit-ID: RAvuVs7Ykq
2016-09-06 15:01:30 +08:00
JW Wang
2705922bc6
Bug 1301341. Part 2 - Remove unused members. r=kaku
...
MozReview-Commit-ID: 3S9hw6w0k1T
2016-09-06 14:48:29 +08:00
JW Wang
3cf0dfbef9
Bug 1301341. Part 1 - Move some code to DecodeMetadataState. r=kaku
...
MozReview-Commit-ID: 3QiIjVM7Ypv
2016-09-06 14:33:30 +08:00
JW Wang
075b8bd00c
Bug 1300956. Part 10 - Remove null-checks for mStateObj. r=kaku
...
MozReview-Commit-ID: 6SRx1QqRXC8
2016-09-06 11:42:28 +08:00
JW Wang
537e1d0649
Bug 1300956. Part 9 - Implement ShutdownState. r=kaku
...
MozReview-Commit-ID: LnbQeCPYy9f
2016-09-06 11:37:46 +08:00
JW Wang
aa92965010
Bug 1300956. Part 8 - Implement CompletedState. r=kaku
...
MozReview-Commit-ID: KsgjLPShe2N
2016-09-06 11:34:09 +08:00
JW Wang
ad27f4c314
Bug 1300956. Part 7 - Implement BufferingState. r=kaku
...
MozReview-Commit-ID: 5FvguP4y43Z
2016-09-06 11:30:30 +08:00
JW Wang
ca94e43a60
Bug 1300956. Part 6 - Implement SeekingState. r=kaku
...
MozReview-Commit-ID: IrEOmTXlzuR
2016-09-06 11:20:12 +08:00
JW Wang
ec738ce584
Bug 1300956. Part 5 - Implement DecodingState. r=kaku
...
MozReview-Commit-ID: Kx5oRrT8DD0
2016-09-06 11:14:09 +08:00
JW Wang
b14a7b4389
Bug 1300956. Part 4 - Implement DecodingFirstFrameState. r=kaku
...
MozReview-Commit-ID: DXMv6pGbo7N
2016-09-06 11:10:52 +08:00
JW Wang
748f80d01e
Bug 1300956. Part 3 - Implement DormantState. r=kaku
...
MozReview-Commit-ID: 85IjZCdFjyJ
2016-09-06 11:07:55 +08:00
JW Wang
e3465f31ae
Bug 1300956. Part 2 - Implement WaitForCDMState. r=kaku
...
MozReview-Commit-ID: 7jzwgWxqYKL
2016-09-06 11:05:03 +08:00
JW Wang
844ae580cd
Bug 1300956. Part 1 - Add declarations of the state objects of MDSM. Also implement DecodeMetadataState. r=kaku
...
MozReview-Commit-ID: BRyi409rmn5
2016-09-06 11:01:57 +08:00
JW Wang
1b80826a62
Bug 1300497. Part 6 - remove the call to |SetState(DECODER_STATE_SHUTDOWN)| from DecodeError(). r=kaku
...
So we have only one place to transition to the SHUTDOWN state which is Shutdown().
MozReview-Commit-ID: 6MNISCea94Q
2016-09-06 15:33:20 +08:00
JW Wang
1310f4b3f6
Bug 1300497. Part 5 - run MDSM cycles immediately in the callback of mDelayedScheduler. r=kaku
...
There is no point in scheduling an addition cycle to do that.
Also remove the annoying debugging message which is not helpful.
MozReview-Commit-ID: BMjeTNg6HCY
2016-09-05 17:51:54 +08:00
JW Wang
e4c8a17949
Bug 1300497. Part 4 - remove the call to ScheduleStateMachine() before |SetState(DECODER_STATE_SHUTDOWN)| and cancel mDelayedScheduler in Shutdown(). r=kaku
...
We don't want to run MDSM cycles anymore once shutdown begins.
MozReview-Commit-ID: 7Py20oqWNBG
2016-09-06 10:26:45 +08:00
JW Wang
6d34b53656
Bug 1300497. Part 3 - move some code from FinishShutdown() to Shutdown(). r=kaku
...
We don't want to receive notifications from MediaEventSource or WatchManager once shutdown begins.
MozReview-Commit-ID: LiKUjOGuxyX
2016-09-06 10:23:02 +08:00
JW Wang
a8b2ed3045
Bug 1300497. Part 2 - constify and fix the comment of IsShutdown(). r=kaku
...
MozReview-Commit-ID: AsZwNPAlq0d
2016-09-05 16:50:06 +08:00
JW Wang
c72bf6a7bd
Bug 1300497. Part 1 - assert we never escape the SHUTDOWN state. r=kaku
...
MozReview-Commit-ID: JDWdFAGZijm
2016-09-05 16:38:09 +08:00
JW Wang
4273b21c68
Bug 1300479. Part 3 - extract RunStateMachine() cases to its own function. r=kaku
...
MozReview-Commit-ID: LNLu7X8VD3s
2016-09-05 15:48:37 +08:00
JW Wang
7ca072df49
Bug 1300479. Part 2 - replace empty cases with the default case. r=kaku
...
MozReview-Commit-ID: 7iXd8UtivEn
2016-09-05 15:35:55 +08:00