dom/media/MediaDecoderStateMachine.cpp
21e90c727ae06339e4a4b9545faa22bf5db1ea9f
created 2016-09-05 15:48 +0800
pushed 2016-09-06 13:26 +0000
JW Wang JW Wang - Bug 1300479. Part 3 - extract RunStateMachine() cases to its own function. r=kaku
55a002b013f0dc99cc1133ad87d6e347ca0fe08c
created 2016-09-05 15:35 +0800
pushed 2016-09-06 13:26 +0000
JW Wang JW Wang - Bug 1300479. Part 2 - replace empty cases with the default case. r=kaku
80a96bf681f15a38b2d76b029fab77d07580168f
created 2016-09-05 15:28 +0800
pushed 2016-09-06 13:26 +0000
JW Wang JW Wang - Bug 1300479. Part 1 - remove the aState parameter from EnterState()/ExitState() for we always pass mState. r=kaku
fcbf7d45fbe41d1fa77dff50bba91ddc6d217350
created 2016-09-01 16:34 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 10 - remove some mSentFirstFrameLoadedEvent checks for it is surely true when mState is DECODING. r=kaku
13b4910c4880beb4d89e5d11ac49c7a06af07d0c
created 2016-09-01 13:01 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 9 - fix MaybeFinishDecodeFirstFrame(). r=kaku
41ed9b0c1661f5c4a2c5d7a5df85d5049b87cdc6
created 2016-09-01 12:54 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 8 - add an entry action for DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
1aafc799929a9cc984a4059fd95c7e77561b1c39
created 2016-09-01 12:02 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 7 - remove the call to MaybeFinishDecodeFirstFrame() from OnNotDecoded(). r=kaku
6b05ec872e63b46f138d04ab03c6d959fb4431d4
created 2016-09-01 12:00 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 6 - Move MaybeFinishDecodeFirstFrame() from case DECODER_STATE_DECODING to case DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
8a478b60c1f9fa982bceb3097d52d2bd1b67be51
created 2016-09-01 11:55 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 5 - change some `SetState(DECODER_STATE_DECODING)` to `SetState(DECODER_STATE_DECODING_FIRSTFRAME)`. r=kaku
2ffa21b6fb98a0759367f3fb82acfc72005474bf
created 2016-09-01 11:48 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 4 - change test `mState >= DECODER_STATE_DECODING` to `mState >= DECODER_STATE_DECODING_FIRSTFRAME`. r=kaku
9b2913a5a496d997539d4d58bf34a6f01c59e7b6
created 2016-09-01 11:47 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 3 - change test `mState >= DECODER_STATE_DECODING && mSentFirstFrameLoadedEvent` to `mState >= DECODER_STATE_DECODING`. r=kaku
cd526ec1c2081ccea82bed10df928e9784ef155c
created 2016-09-01 11:45 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 2 - change test `mState != DECODER_STATE_DECODING` to `mState != DECODER_STATE_DECODING && mState != DECODER_STATE_DECODING_FIRSTFRAME`. r=kaku
ce1129cc4efff8c675efe76fb0993bf73a995603
created 2016-09-01 14:28 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 1 - add DECODER_STATE_DECODING_FIRSTFRAME to MDSM. r=kaku
7e79e89e8da72dd0ecc370a041b5db6d8050547c
created 2016-08-31 15:46 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1299393. Part 1 - make some functions return void and fix the comments. r=kaku
59a2037689323ad523e378cb16c0d507da51afdf
created 2016-08-31 14:54 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1299387 - check the duration instead of mState to match the comment. r=kaku
617358809fe768f0456f8d02a75be1c85b65e885
created 2016-08-31 13:12 +0800
pushed 2016-09-04 17:35 +0000
JW Wang JW Wang - Bug 1299369. Part 4 - remove the check for mSentFirstFrameLoadedEvent from RequestVideoData() because NeedToSkipToNextKeyframe() already checks it. r=kaku
b8f9f67046dae3002503a861f54ea9c0bdb85e99
created 2016-08-31 13:06 +0800
pushed 2016-09-04 17:35 +0000
JW Wang JW Wang - Bug 1299369. Part 2 - except for BUFFERING or SEEKING, HaveNextFrameData() should be able to tell us whether next frames are available. r=kaku
49fc29e6b6a571877cb978e61e19e924306e8cd5
created 2016-08-31 12:54 +0800
pushed 2016-09-04 17:35 +0000
JW Wang JW Wang - Bug 1299369. Part 1 - assert !mSentFirstFrameLoadedEvent in FinishDecodeFirstFrame(). r=kaku
0dfbee74cdbbfa8ad688860554bee62add4479c6
created 2016-08-30 16:48 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 5 - remove unused members. r=kaku
c454a29b2ede95b157bf802d28be8ea61401261d
created 2016-08-30 16:45 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 4 - replace checks for IsDecodingFirstFrame() with !mSentFirstFrameLoadedEvent. r=kaku
13ca0eb5671e034c0c689262218a6fa98d54867a
created 2016-08-30 16:32 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 3 - check |mSentFirstFrameLoadedEvent| to know whether we can finish decoding first frames. r=kaku
0e2ee827b4be3a090ee0bc3aae2d1e335e37506a
created 2016-08-30 16:21 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 2 - simplify the handling of pending seek in StartDecoding(). r=kaku
0e3958b3ee0f5c11a9ef78a9480406f3fd04d113
created 2016-08-30 15:11 +0800
pushed 2016-08-31 23:55 +0000
JW Wang JW Wang - Bug 1299064. Part 3 - remove the calls to ScheduleStateMachine() following |SetState(DECODER_STATE_DECODING)|. r=kaku
437650642dd869c0d1bc14fff37d310226b36643
created 2016-08-30 15:06 +0800
pushed 2016-08-31 23:55 +0000
JW Wang JW Wang - Bug 1299064. Part 2 - remove the if/else statement at the end of SeekCompleted(). r=kaku
c9f208e04b62783c69c1fd17de962f168b3b4df2
created 2016-08-30 15:04 +0800
pushed 2016-08-31 23:55 +0000
JW Wang JW Wang - Bug 1299064. Part 1 - move |SetState(nextState)| and ScheduleStateMachine() to the bottom of SeekCompleted(). r=kaku
e3c2e22c46c136c4a703d819efc228c6a850a1ac
created 2016-08-26 17:41 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298297 - Remove DECODER_STATE_ERROR from MDSM. r=kaku
57a2f1d5bc60a09e4ba4e2209dd4fedc2febb662
created 2016-08-29 11:50 +0800
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 11 - Move some code to the entry action of DECODER_STATE_BUFFERING. r=kaku
c48f06ea74fe743f965708c52fb8b57aec81d1ae
created 2016-08-26 06:34 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 10 - Assert |mState == DECODER_STATE_DECODING| in StartBuffering() which is only called by MaybeStartBuffering() which also asserts that. r=kaku
a10febe05935aa32bad84783cf96d01bdfbb7bca
created 2016-08-26 06:31 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 9 - Assert |mState == DECODER_STATE_DECODING| in MaybeStartBuffering() which is only called in the DECODER_STATE_DECODING case of RunStateMachine(). r=kaku
21020a8a6ea7fedbf1520411570c0e9b026c43e4
created 2016-08-29 11:46 +0800
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 8 - Move some code to the entry action of DECODER_STATE_DECODING. r=kaku
8d191355cb13769a9af75515fd33d6b624459ea4
created 2016-08-29 11:36 +0800
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 7 - Assert |mState != DECODER_STATE_DECODING| in StartDecoding(). r=kaku
b06577b71a3eaf7a31270f8ae22ff2c4a39704f7
created 2016-08-26 06:25 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 6 - Move some code to the entry action of DECODER_STATE_COMPLETED. r=kaku
e3989f634b74a048ea449d3898c8acbf428ded48
created 2016-08-26 06:18 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 5 - Move the call to |SetState(DECODER_STATE_COMPLETED)| out of CheckIfDecodeComplete() to make it easier to move more code to entry actions. r=kaku
495056dc8ed594fc86cd0e1bf332561c194e4ffc
created 2016-08-26 06:08 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 4 - Remove the call to DispatchDecodeTasksIfNeeded() from CheckIfDecodeComplete() because we've decoded all samples. r=kaku
55d0d97dccd11c8526287b255e6faecea1d0bbd7
created 2016-08-26 06:06 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 3 - Remove the check for IsShutdown() from CheckIfDecodeComplete() because it is called only when mState is DECODING or BUFFERING. r=kaku
4e6e02e3ef1aeb1506b84dc994f28af9291c0c71
created 2016-08-26 05:58 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 2 - Move some code to the entry action of DECODER_STATE_DORMANT. r=kaku
7ec8d889e02138d5fbd7cf8ec86279f89c6c1a83
created 2016-08-26 10:52 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 1 - Move the code about decoding metadata to the entry action of DECODER_STATE_DECODING_METADATA. r=kaku
4cb4952bbbdebd8ac0d2dccaf3a6b09bacc68f24
created 2016-08-25 20:30 +0800
pushed 2016-08-30 13:51 +0000
Kaku Kuo Kaku Kuo - Bug 1286454 part 1 - remove MediaData::mDiscontinuity; r=jwwang
ded582db991fcbedb51f42980f9bc1aca93d8a5f
created 2016-08-28 21:20 +1000
pushed 2016-08-30 00:34 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1298594: P3. Ensure currentTime is updated prior changing readyState. r=jwwang
2615d4df8768f04c219491437f54507f2bc87899
created 2016-08-24 11:45 +1200
pushed 2016-08-29 16:22 +0000
JW Wang JW Wang - Bug 1297553 - Dump more debugging messages for MDSM and MediaSink. r=kaku
84090fe63313d70a864c0ea10e71147884584832
created 2016-08-15 14:54 +0800
pushed 2016-08-25 12:08 +0000
JW Wang JW Wang - Bug 1295073 - Remove the aRealTime parameter from the MediaDecoderStateMachine constructor. r=cpearce
35416a1541ae9860846ec93081d12b7e96c930c3
created 2016-08-23 15:39 +0800
pushed 2016-08-23 14:01 +0000
Iris Hsiao Iris Hsiao - Backed out changeset d6d2cc94bb92 (bug 1295906) for M-e10s crashes on Windows 7 debug
d6d2cc94bb924a86a0b8476b0e6681fe2f211283
created 2016-08-17 17:11 +0800
pushed 2016-08-23 14:01 +0000
JW Wang JW Wang - Bug 1295906 - Move |mVideoFrameContainer->ClearCurrentFrame()| out of MediaFormatReader::ReleaseResources(). r=jya
feed07c7f1225130f8961449a3190b0596b081fe
created 2016-08-12 16:06 +0800
pushed 2016-08-23 14:01 +0000
JW Wang JW Wang - Bug 1295893 - Add entry/exit actions to state transitions of MDSM. r=kaku
4030666f6c50c963645afab80caf373eb7ee1d06
created 2016-08-17 15:03 +0800
pushed 2016-08-17 23:34 +0000
JW Wang JW Wang - Bug 1295901 - Change the semantics/naming of MediaDecoderReader::ReleaseMediaResources(). r=jya
3599d88d2b2490296d8a257a0cdfdeef94630393
created 2016-08-11 15:05 +0800
pushed 2016-08-17 23:34 +0000
Gerald Squelart Gerald Squelart - Bug 1294349 - Report VIDEO_SUSPEND_RECOVERY_TIME_MS - r=kaku
d4ac66433eeb53df4b426e79885bb38cac701af9
created 2016-08-11 17:33 +0800
pushed 2016-08-16 22:25 +0000
JW Wang JW Wang - Bug 1294615. Part 2 - Refactor MDSM::SetDormant() to remove unnecessary checks for mQueuedSeek.Exists() and mCurrentSeek.Exists(). r=kaku
da868fdc53aad548cfb31eb39b164c104d100ab0
created 2016-08-11 16:07 +0800
pushed 2016-08-16 22:25 +0000
JW Wang JW Wang - Bug 1294615. Part 1 - Assert mQueuedSeek.Exists() is false in InitiateSeek(). r=kaku
a5dc69346897b609caaab6048317136ddb4f9270
created 2016-08-12 17:37 +0800
pushed 2016-08-16 22:25 +0000
Kaku Kuo Kaku Kuo - Bug 1294656 - apply FastSeek to video files without audio track; r=jwwang
7b74ee1d97dbe7afa04e6b522174be2c529349b9
created 2016-08-12 14:54 +0800
pushed 2016-08-15 21:07 +0000
JW Wang JW Wang - Bug 1294634 - Use a switch statement to convert State to string. r=bechen
ada11d4cda081e4c48f30f0c86a718c11cc24cf4
created 2016-08-11 17:35 +0800
pushed 2016-08-15 21:07 +0000
JW Wang JW Wang - Bug 1294629 - Simplify the code of ReaderSuspendedChanged(). r=kaku
2fff8cb618fc6ced1558334f7e73d2a8799b172c
created 2016-08-12 11:45 +0800
pushed 2016-08-15 21:07 +0000
Kaku Kuo Kaku Kuo - Bug 1294384 - make video-only attribute orthogonal to the seek type; r=jwwang
12b7e10fe83de33d9b3f93acc1a1f50d4af0e40e
created 2016-08-11 15:37 +0800
pushed 2016-08-12 16:45 +0000
JW Wang JW Wang - Bug 1294352 - Merge MDSM::InitiateSeek() and MDSM::InitiateDecodeRecoverySeek(). r=kaku
f4f41b355cf02a757995e18bd4878efb90086818
created 2016-08-11 15:03 +0800
pushed 2016-08-12 16:45 +0000
JW Wang JW Wang - Bug 1294345 - Remove the TrackSet parameter from MediaDecoderStateMachine::InitiateDecodeRecoverySeek(). r=kaku
1335339b74bee2c76d78c50b4448ff85321dc3ad
created 2016-08-11 11:32 +0800
pushed 2016-08-12 16:45 +0000
JW Wang JW Wang - Bug 1294320 - Remove MediaDecoderStateMachine::IsVideoDecodeSuspended() r=kaku
24602315090f4177915dab87f60d908a661916ae
created 2016-07-04 14:35 +1000
pushed 2016-08-12 16:45 +0000
Dan Glastonbury Dan Glastonbury - Bug 1284177 - P1: Provide observable notification for video suspend. r=jwwang
f64f8bc8415f1cffff58478438d2a3af81272985
created 2016-08-09 14:43 +0800
pushed 2016-08-12 16:45 +0000
JW Wang JW Wang - Bug 1292453 - MDSM should enter dormant state when its reader is suspended. r=esawin
95ecfed6808e4e8509011ac0c8a210cc347b3b4e
created 2016-08-05 16:03 +1000
pushed 2016-08-08 22:47 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1128069: [MSE] P4. Do not adjust duration to what data we may have been seen in the past. r=jwwang
3e566caff5953436e90c320ca6737e897770472a
created 2016-08-03 17:18 +0800
pushed 2016-08-08 22:47 +0000
JW Wang JW Wang - Bug 1291633 - Don't call MediaDecoder::SeekingStarted when visibility is Suppressed. r=kaku
0ba72e8027cfcbcbf3426770ac264a7ade2af090
created 2016-08-04 15:55 +0200
pushed 2016-08-04 13:58 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - merge mozilla-inbound to mozilla-central a=merge
less more (0) -300 -100 -60 tip