Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d9a0f5ccb2c0c1d8861ba9a714f76e51d08afc6
      
https://github.com/WebKit/WebKit/commit/5d9a0f5ccb2c0c1d8861ba9a714f76e51d08afc6
  Author: Gatolocoses <[email protected]>
  Date:   2026-10-14 (Wed, 14 Oct 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp

  Log Message:
  -----------
  [GStreamer][WebCodecs] AV1 VideoDecoder: every decode() fails, no av1parse 
before the decoder
https://bugs.webkit.org/show_bug.cgi?id=327481

Reviewed by Philippe Normand.

The AV1 input caps were pushed directly to the decoder. vaav1dec requires a 
profile
field and av1dec (libaom) requires TU alignment, so both rejected the caps and 
every
decode() call failed. Insert av1parse in front of the decoder when it cannot 
sink the
caps, as already done for H.264, H.265 and VP9.

No new tests: the failure depends on which AV1 decoder elements are installed.
Tested manually with vaav1dec and av1dec on WebKitGTK 2.54.0.

* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::GStreamerInternalVideoDecoder):

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Canonical link: https://commits.webkit.org/323703@main



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

Reply via email to