Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 70125ea27319675e3cbcb4b56b2b038ab4045372
https://github.com/WebKit/WebKit/commit/70125ea27319675e3cbcb4b56b2b038ab4045372
Author: Philippe Normand <[email protected]>
Date: 2025-11-26 (Wed, 26 Nov 2025)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
M
Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
M
Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.h
Log Message:
-----------
Cherry-pick 303539@main (d0dfb8e19931).
https://bugs.webkit.org/show_bug.cgi?id=302541
[GStreamer] Using the `loop` property in a media element breaks the seeking
and looping.
https://bugs.webkit.org/show_bug.cgi?id=302541
Reviewed by Xabier Rodriguez-Calvar.
Seamless (segment) seeking is now disabled for audio players and media
files muxed in Ogg
containers, due to missing support for that in oggdemux. Segment seeking is
mostly relevant for
videos, in order to avoid a frame flashing before looping back to the
beginning of the video.
This patch also improves seek support in looping videos, by making those
seek events flush the
pipeline. Once such flush seek is done, another segment seek is performed,
so that the seamless
rendering keeps working at the next loop iteration.
With this patch media/video-loop.html now runs in ~3.9 seconds, while
without it was taking 10
seconds to run (because the seek near the end of video was not working as
expected).
Canonical link: https://commits.webkit.org/303539@main
Canonical link: https://commits.webkit.org/298234.308@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications