Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 32a477e91d097237e4464ea7612cf47d75292a00
      
https://github.com/WebKit/WebKit/commit/32a477e91d097237e4464ea7612cf47d75292a00
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M Source/WebCore/Modules/mediasource/ManagedMediaSource.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h

  Log Message:
  -----------
  [WPE][GTK] default currentTime is NaN
https://bugs.webkit.org/show_bug.cgi?id=280337

Reviewed by Philippe Normand.

Follow-up on 284149@main.
Make currentTime initialized to MediaTime::zeroTime() and remove all path where 
invalidTime could be returned.

* Source/WebCore/Modules/mediasource/ManagedMediaSource.cpp:
(WebCore::ManagedMediaSource::monitorSourceBuffers): Remove workaround test 
that currentTime wasn't invalid.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::play):
(WebCore::MediaPlayerPrivateGStreamer::currentTime const):
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):
(WebCore::MediaPlayerPrivateGStreamer::performTaskAtTime):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

Canonical link: https://commits.webkit.org/284322@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to