зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1312886: P1. Fix comments. r=cpearce
A MediaDataDecoder now always call InputExhausted once decoding is completed. MozReview-Commit-ID: K6SCRYb2ieI --HG-- extra : rebase_source : 315e85eee417561be1713402bd8118ef7bffba88
This commit is contained in:
Родитель
2275539222
Коммит
6cdfa7a953
|
@ -306,11 +306,10 @@ private:
|
|||
bool mDecoderInitialized;
|
||||
bool mOutputRequested;
|
||||
// Set to true once the MediaDataDecoder has been fed a compressed sample.
|
||||
// No more sample will be passed to the decoder while true.
|
||||
// No more samples will be passed to the decoder while true.
|
||||
// mDecodePending is reset when:
|
||||
// 1- The decoder returns a sample
|
||||
// 2- The decoder calls InputExhausted
|
||||
// 3- The decoder is Flushed or Reset.
|
||||
// 1- The decoder calls InputExhausted
|
||||
// 2- The decoder is Flushed or Reset.
|
||||
bool mDecodePending;
|
||||
bool mNeedDraining;
|
||||
bool mDraining;
|
||||
|
|
Загрузка…
Ссылка в новой задаче