Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c5cfffe19659bb95742d4d5ebc46c405d329fbed
https://github.com/WebKit/WebKit/commit/c5cfffe19659bb95742d4d5ebc46c405d329fbed
Author: Xabier Rodriguez-Calvar <[email protected]>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
Log Message:
-----------
[GStreamer] Try to detect and recover inconsistent playing state
https://bugs.webkit.org/show_bug.cgi?id=252310
Reviewed by Philippe Normand.
A series of buffer flushings could leave pipeline in an inconsistent state:
top-level bin in playing with sinks in
paused. This happens if flush is triggered in the middle of paused-to-playing
transition which was started by gst bin
async handling of ASYNC_DONE message.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):
(WebCore::areAllSinksPlayingForBin):
(WebCore::MediaPlayerPrivateGStreamer::checkPlayingConsistency):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
Canonical link: https://commits.webkit.org/261571@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes