Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: fff29015f30320e2451013f6bbb3563caedc2f82 https://github.com/WebKit/WebKit/commit/fff29015f30320e2451013f6bbb3563caedc2f82 Author: Philippe Normand <ph...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes