зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1350852 P2 - use mozvideoonlyseekcompleted to cancel throbber while resuming video decoder; r=jaws,jwwang
MozReview-Commit-ID: CV3LsfA6s1O --HG-- extra : rebase_source : 8337aac3a3395b65a8ffca975c51b40666c12023
This commit is contained in:
Родитель
d1654b9821
Коммит
86a20bfd54
|
@ -222,7 +222,7 @@
|
|||
"playing", "waiting", "canplay", "canplaythrough",
|
||||
"seeking", "seeked", "emptied", "loadedmetadata",
|
||||
"error", "suspend", "stalled",
|
||||
"mozexitvideosuspend"],
|
||||
"mozexitvideosuspend", "mozvideoonlyseekcompleted"],
|
||||
|
||||
showHours: false,
|
||||
firstFrameShown: false,
|
||||
|
@ -674,7 +674,6 @@
|
|||
case "seeked":
|
||||
case "playing":
|
||||
case "canplay":
|
||||
this._cancelShowThrobberWhileResumingVideoDecoder();
|
||||
case "canplaythrough":
|
||||
this.setupStatusFader();
|
||||
break;
|
||||
|
@ -704,6 +703,10 @@
|
|||
case "mozexitvideosuspend":
|
||||
this._delayShowThrobberWhileResumingVideoDecoder();
|
||||
break;
|
||||
case "mozvideoonlyseekcompleted":
|
||||
this._cancelShowThrobberWhileResumingVideoDecoder();
|
||||
this.setupStatusFader();
|
||||
break;
|
||||
default:
|
||||
this.log("!!! event " + aEvent.type + " not handled!");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче