Bug 1222387: P1. Properly handle negative seeks when readyState is HAVE_NOTHING. r=jwwang
This commit is contained in:
@@ -3442,7 +3442,7 @@ void HTMLMediaElement::MetadataLoaded(const MediaInfo* aInfo,
|
||||
NotifyOwnerDocumentActivityChangedInternal();
|
||||
}
|
||||
|
||||
if (mDefaultPlaybackStartPosition > 0) {
|
||||
if (mDefaultPlaybackStartPosition != 0.0) {
|
||||
SetCurrentTime(mDefaultPlaybackStartPosition);
|
||||
mDefaultPlaybackStartPosition = 0.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user