Bug 1686696 - part2 : rework how does decoder handle owner's events when the logical position changes. r=bryce
Decoder needs to handle owner's events differently based on different situations, this patch makes the process clearer. Differential Revision: https://phabricator.services.mozilla.com/D102674
This commit is contained in:
@@ -5381,6 +5381,9 @@ void HTMLMediaElement::SeekCompleted() {
|
||||
if (mTextTrackManager) {
|
||||
mTextTrackManager->DidSeek();
|
||||
}
|
||||
// https://html.spec.whatwg.org/multipage/media.html#seeking:dom-media-seek
|
||||
// (Step 16)
|
||||
// TODO (bug 1688131): run these steps in a stable state.
|
||||
FireTimeUpdate(TimeupdateType::eMandatory);
|
||||
DispatchAsyncEvent(u"seeked"_ns);
|
||||
// We changed whether we're seeking so we need to AddRemoveSelfReference
|
||||
|
||||
Reference in New Issue
Block a user