[webkit-changes] [WebKit/WebKit] 22965f: [GStreamer][WebCodecs] Propagate audio decoder cre...
Philippe Normand
noreply at github.com
Tue Oct 31 04:18:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 22965f369e432bd5d1b3653caa5d7ae2d4158c1e
https://github.com/WebKit/WebKit/commit/22965f369e432bd5d1b3653caa5d7ae2d4158c1e
Author: Philippe Normand <philn at igalia.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M Source/WebCore/platform/AudioDecoder.cpp
M Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.h
Log Message:
-----------
[GStreamer][WebCodecs] Propagate audio decoder create/configure errors to the script execution context
https://bugs.webkit.org/show_bug.cgi?id=263851
Reviewed by Xabier Rodriguez-Calvar.
Without this patch the pending flush promises rejections might trigger ASSERTs in Debug builds
because they would be called from a non-main thread.
* Source/WebCore/platform/AudioDecoder.cpp:
(WebCore::AudioDecoder::create):
* Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp:
(WebCore::GStreamerAudioDecoder::create):
* Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.h:
Canonical link: https://commits.webkit.org/270005@main
More information about the webkit-changes
mailing list