Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 22965f369e432bd5d1b3653caa5d7ae2d4158c1e
      
https://github.com/WebKit/WebKit/commit/22965f369e432bd5d1b3653caa5d7ae2d4158c1e
  Author: Philippe Normand <ph...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to