Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 0745467377affa10f7b1a2aef1a93a148afbe71e https://github.com/WebKit/WebKit/commit/0745467377affa10f7b1a2aef1a93a148afbe71e Author: Philippe Normand <ph...@igalia.com> Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths: M LayoutTests/platform/glib/TestExpectations R LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt A LayoutTests/platform/gtk/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt A LayoutTests/platform/wpe/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt 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] Improve support for h.264 frames reordering in decoder https://bugs.webkit.org/show_bug.cgi?id=265335 Reviewed by Youenn Fablet and Xabier Rodriguez-Calvar. The GStreamer video decoder flush logic was flawed, assuming a flush-start/stop cycle would be sufficient, but in practice we need to send EOS and teardown the element to force drain of the decoder. * LayoutTests/platform/glib/TestExpectations: * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt: Copied from LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt. * LayoutTests/platform/wpe/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt: Renamed from LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-canvasImageSource-expected.txt. * Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp: (WebCore::GStreamerInternalVideoDecoder::GStreamerInternalVideoDecoder): (WebCore::GStreamerInternalVideoDecoder::decode): (WebCore::GStreamerInternalVideoDecoder::flush): * Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp: (WebCore::GStreamerElementHarness::~GStreamerElementHarness): (WebCore::GStreamerElementHarness::reset): * Source/WebCore/platform/gstreamer/GStreamerElementHarness.h: Canonical link: https://commits.webkit.org/273290@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes