mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
Bug 1310140. Part 5 - add DecodingFirstFrameState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 9CAE5XOQFtQ --HG-- extra : rebase_source : a4f227c1d3eb6e1e2fe1a353e565ea06447faea4 extra : source : ffe3c6d1e9dd68835cacd0f56ae0bf461f1e843c
This commit is contained in:
parent
c74a365db4
commit
18399ecab8
@ -447,6 +447,11 @@ public:
|
||||
|
||||
RefPtr<MediaDecoder::SeekPromise> HandleSeek(SeekTarget aTarget) override;
|
||||
|
||||
void HandleVideoSuspendTimeout() override
|
||||
{
|
||||
// Do nothing for we need to decode the 1st video frame to get the dimensions.
|
||||
}
|
||||
|
||||
private:
|
||||
// Notify FirstFrameLoaded if having decoded first frames and
|
||||
// transition to SEEKING if there is any pending seek, or DECODING otherwise.
|
||||
|
Loading…
Reference in New Issue
Block a user