[webkit-changes] [WebKit/WebKit] 57191c: [GStreamer] Handle latency messages
Philippe Normand
noreply at github.com
Tue Dec 13 07:11:12 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 57191c0bb3eefcf88bbc54b10e4903420c862cbb
https://github.com/WebKit/WebKit/commit/57191c0bb3eefcf88bbc54b10e4903420c862cbb
Author: Philippe Normand <philn at igalia.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.h
Log Message:
-----------
[GStreamer] Handle latency messages
https://bugs.webkit.org/show_bug.cgi?id=248813
Reviewed by Xabier Rodriguez-Calvar.
When a latency message is received on the bus the application should recalculate and distribute a
new latency. Also included in this patch is a drive-by improvement in state-change message handling
in the audio file reader, where we process only the notification from the top-level pipeline.
* Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestinationGStreamer::handleMessage):
* Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
(WebCore::AudioFileReader::handleMessage):
* Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:
(WebCore::AudioSourceProviderGStreamer::AudioSourceProviderGStreamer):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::connectSimpleBusMessageCallback):
* Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:
(WebCore::ImageDecoderGStreamer::InnerDecoder::handleMessage):
Canonical link: https://commits.webkit.org/257788@main
More information about the webkit-changes
mailing list