Bug 1693250 - part3 : add another test to check whether audio sink incorrectly inserts silence. r=media-playback-reviewers,webidl,saschanaz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D183435
This commit is contained in:
@@ -2075,6 +2075,10 @@ bool HTMLMediaElement::IsVideoDecodingSuspended() const {
|
||||
return mDecoder && mDecoder->IsVideoDecodingSuspended();
|
||||
}
|
||||
|
||||
void HTMLMediaElement::SetSuspend(bool aSuspend) {
|
||||
SuspendOrResumeElement(aSuspend);
|
||||
}
|
||||
|
||||
double HTMLMediaElement::TotalVideoPlayTime() const {
|
||||
return mDecoder ? mDecoder->GetTotalVideoPlayTimeInSeconds() : -1.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user