Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index a2168a583a40254bb2da87a8b70b0953bad467fa..4ed0feab56a9e18be62873437488bf819be7879e 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -183,7 +183,7 @@ void HTMLVideoElement::setDisplayMode(DisplayMode mode) |
// Don't show the poster if there is a seek operation or |
// the video has restarted because of loop attribute |
if (mode == Video && oldMode == Poster && !hasAvailableVideoFrame()) |
- mode = PosterWaitingForVideo; |
+ return; |
} |
HTMLMediaElement::setDisplayMode(mode); |