Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cac194f74a21e0c7e551df670e47974a186e69cb
      
https://github.com/WebKit/WebKit/commit/cac194f74a21e0c7e551df670e47974a186e69cb
  Author: Philippe Normand <ph...@igalia.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp

  Log Message:
  -----------
  [GStreamer] Fix mock video sources observed framerate display
https://bugs.webkit.org/show_bug.cgi?id=285301

Reviewed by Xabier Rodriguez-Calvar.

The observed framerate is computed using frames PTS values, but the frames 
constructed by the mock
sources had invalid PTS values. Fix this by using the buffer PTS in case an 
invalid timestamp was
passed to the create() functions. This was done already for 
createWrappedSample() but not for the
create() function.

* Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:
(WebCore::presentationTimeFromSample):
(WebCore::VideoFrameGStreamer::create):
(WebCore::VideoFrameGStreamer::createWrappedSample):

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



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

Reply via email to