[webkit-changes] [WebKit/WebKit] 18c753: [GStreamer][WebCodecs] codec string validation sup...

Philippe Normand noreply at github.com
Mon Aug 28 01:18:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18c7539a953d965b154f08076a4e51751e77169a
      https://github.com/WebKit/WebKit/commit/18c7539a953d965b154f08076a4e51751e77169a
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp
    M Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.cpp

  Log Message:
  -----------
  [GStreamer][WebCodecs] codec string validation support for VideoDecoder
https://bugs.webkit.org/show_bug.cgi?id=260712

Reviewed by Xabier Rodriguez-Calvar.

The GStreamer VideoDecoder now performs some validation operations on the supplied codec string,
similarily to what was done for Apple ports in 267272 at main.

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::~GStreamerInternalVideoDecoder):
(WebCore::validateCodecString):
(WebCore::GStreamerVideoDecoder::create):
(WebCore::GStreamerVideoDecoder::~GStreamerVideoDecoder):
* Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.cpp:
(WebCore::GStreamerCodecUtilities::parseHEVCProfile):

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




More information about the webkit-changes mailing list