Duration doesn't change even if it is updated on EOS(additional).
[framework/web/webkit-efl.git] / Source / WebCore / platform / graphics / gstreamer / MediaPlayerPrivateGStreamer.cpp
index 10e346b..b42a302 100755 (executable)
@@ -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