Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f0fcc5ad0e2d6e7421dea31cf5195f8366a685b
      
https://github.com/WebKit/WebKit/commit/8f0fcc5ad0e2d6e7421dea31cf5195f8366a685b
  Author: Philippe Normand <[email protected]>
  Date:   2026-04-22 (Wed, 22 Apr 2026)

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

  Log Message:
  -----------
  [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



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

Reply via email to