Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7478268ef2e01a7eb7aee7d2579c190a3065a559
      
https://github.com/WebKit/WebKit/commit/7478268ef2e01a7eb7aee7d2579c190a3065a559
  Author: Philippe Normand <ph...@igalia.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.h
    M Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstElementHarness.cpp

  Log Message:
  -----------
  [GStreamer] Add support for allowed output caps hints in ElementHarness
https://bugs.webkit.org/show_bug.cgi?id=288914

Reviewed by Xabier Rodriguez-Calvar.

Instead of accepting ANY caps on its output pad, a Stream created by the 
harness can now provide
hints for the caps negotiation. This will be useful for hardware video decoding 
support in our
WebCodec backend.

Driving-by, also require from the video decoder to attach video metas to its 
output buffers. This is
a requirement for hardware video decoding (for vaapi decoders at least).

* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::GStreamerInternalVideoDecoder):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::GStreamerElementHarness::GStreamerElementHarness):
(WebCore::GStreamerElementHarness::Stream::Stream):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.h:
(WebCore::GStreamerElementHarness::Stream::create):
(WebCore::GStreamerElementHarness::create):
* Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstElementHarness.cpp:
(TestWebKitAPI::TEST_F(GStreamerTest, harnessCustomCaps)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to