[webkit-changes] [WebKit/WebKit] 6881e7: [GStreamer][WebCodecs] Propagate internal video de...

Philippe Normand noreply at github.com
Fri Jul 21 01:48:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6881e7bb0cfe217920a0e0eb96222f66cc4b6fa8
      https://github.com/WebKit/WebKit/commit/6881e7bb0cfe217920a0e0eb96222f66cc4b6fa8
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

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

  Log Message:
  -----------
  [GStreamer][WebCodecs] Propagate internal video decoder configuration error
https://bugs.webkit.org/show_bug.cgi?id=259360

Reviewed by Xabier Rodriguez-Calvar.

The harness input caps have to be explicitly set, per codec configuration. So if decoding is
requested for a format for which we do have a GStreamer element but that is not properly configuring
the element harness, then we should report this error to the upper layer. This was noticed when
checking the HEVC tests, for which we don't have support yet.

* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::isStarted const):
(WebCore::GStreamerVideoDecoder::create):

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




More information about the webkit-changes mailing list