Title: [246971] releases/WebKitGTK/webkit-2.24/Source/WebCore
Revision
246971
Author
[email protected]
Date
2019-07-01 01:53:14 -0700 (Mon, 01 Jul 2019)

Log Message

Merge r246731 - [GStreamer][MSE] Pausing video sometimes causes skip to finish
https://bugs.webkit.org/show_bug.cgi?id=197355

Reviewed by Philippe Normand.

Covered by existing tests.

* platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
(WebCore::MediaPlayerPrivateGStreamerMSE::currentMediaTime const):
Assuming that when m_eosPending is on and we're paused() that the
network resource is fully loaded and the end is reached is clearly
wrong. Whether this is now correct is unclear...

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog (246970 => 246971)


--- releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog	2019-07-01 08:53:10 UTC (rev 246970)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog	2019-07-01 08:53:14 UTC (rev 246971)
@@ -1,5 +1,20 @@
 2019-06-24  Charlie Turner  <[email protected]>
 
+        [GStreamer][MSE] Pausing video sometimes causes skip to finish
+        https://bugs.webkit.org/show_bug.cgi?id=197355
+
+        Reviewed by Philippe Normand.
+
+        Covered by existing tests.
+
+        * platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
+        (WebCore::MediaPlayerPrivateGStreamerMSE::currentMediaTime const):
+        Assuming that when m_eosPending is on and we're paused() that the
+        network resource is fully loaded and the end is reached is clearly
+        wrong. Whether this is now correct is unclear...
+
+2019-06-24  Charlie Turner  <[email protected]>
+
         [GStreamer] Volume level sometimes changes inappropriately
         https://bugs.webkit.org/show_bug.cgi?id=197358
 

Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp (246970 => 246971)


--- releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp	2019-07-01 08:53:10 UTC (rev 246970)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp	2019-07-01 08:53:14 UTC (rev 246971)
@@ -758,7 +758,7 @@
 {
     MediaTime position = MediaPlayerPrivateGStreamer::currentMediaTime();
 
-    if (m_eosPending && (paused() || (position >= durationMediaTime()))) {
+    if (m_eosPending && position >= durationMediaTime()) {
         if (m_networkState != MediaPlayer::Loaded) {
             m_networkState = MediaPlayer::Loaded;
             m_player->networkStateChanged();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to