From 8a81097ba4a879624a778e53969b8f791c23b0df Mon Sep 17 00:00:00 2001 From: keonho Date: Thu, 11 Jul 2013 21:34:55 +0900 Subject: [PATCH] Duration doesn't change even if it is updated on EOS(additional). [Title] Duration doesn't change even if it is updated on EOS(additional). [Problem] N/A [Cause] In stream mode, there is updating of duration value. [Solution] now != duration needs to update duration on HTMLMediaElement. Change-Id: I801151e8431c2afd7569500116332e76d6ed4982 --- .../WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp index 10e346b..b42a302 100755 --- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp +++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp @@ -1738,7 +1738,7 @@ void MediaPlayerPrivateGStreamer::didEnd() // position is not always reported as 0 for instance. float now = currentTime(); #if ENABLE(TIZEN_GSTREAMER_VIDEO) - if (now > 0 && now >= duration() && m_mediaDuration != now) { + if (now > 0 && now != duration()) { #else if (now > 0 && now <= duration() && m_mediaDuration != now) { #endif -- 2.7.4