Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: b0e24eb7fcc8e4318915c3be760d8c7669710162
      
https://github.com/WebKit/WebKit/commit/b0e24eb7fcc8e4318915c3be760d8c7669710162
  Author: Philippe Normand <[email protected]>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp

  Log Message:
  -----------
  Cherry-pick 311758@main (8f0fcc5ad0e2). 
https://bugs.webkit.org/show_bug.cgi?id=312931

    [GStreamer] 
fast/webcodecs/resetting-audio-decoder-with-zero-size-crash.html is a constant 
timeout
    https://bugs.webkit.org/show_bug.cgi?id=312931

    Reviewed by Xabier Rodriguez-Calvar.

    There is no need to flush the decoder if it hasn't started yet. After 
fixing that the flush promise
    still hanged because the scheduled decode task just before was a rejected 
promise. The decoder now
    returns a resolved promise when the encoded frame is empty.

    * LayoutTests/platform/glib/TestExpectations:
    * Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp:
    (WebCore::GStreamerInternalAudioDecoder::decode):
    (WebCore::GStreamerInternalAudioDecoder::flush):

    Canonical link: https://commits.webkit.org/311758@main

Canonical link: https://commits.webkit.org/305877.459@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to