[webkit-changes] [WebKit/WebKit] fff290: [GStreamer][WebCodecs] Video decoder flush should ...

Philippe Normand noreply at github.com
Mon May 8 04:41:48 PDT 2023


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

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

  Log Message:
  -----------
  [GStreamer][WebCodecs] Video decoder flush should not clear caps and sticky events
https://bugs.webkit.org/show_bug.cgi?id=256376

Reviewed by Xabier Rodriguez-Calvar.

The element harness now has API to flush only buffers, eg force processing of the currently queued
output buffers, without clearing input caps and sticky events. The decoder uses that API, there's no
need to explicitly re-push new caps or sticky events because the input format is not expected to
change across flushes.

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::flush):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::GStreamerElementHarness::flush):
(WebCore::GStreamerElementHarness::flushBuffers):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.h:

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




More information about the webkit-changes mailing list