[webkit-changes] [WebKit/WebKit] 164aa4: [GStreamer][WebCodecs] Refactor to push samples on...

Philippe Normand noreply at github.com
Wed Aug 16 04:51:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 164aa4e39b317d71cbd408dcaa124282838b4d2f
      https://github.com/WebKit/WebKit/commit/164aa4e39b317d71cbd408dcaa124282838b4d2f
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp

  Log Message:
  -----------
  [GStreamer][WebCodecs] Refactor to push samples on the harness
https://bugs.webkit.org/show_bug.cgi?id=260037

Reviewed by Xabier Rodriguez-Calvar.

This delays the element harness startup until the first decode task is fired. It's also in line with
the upcoming audio decoder workflow and potentially more future-proof, specially if we plan to
support reverse decoding later on.

* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::isConfigured const):
(WebCore::GStreamerVideoDecoder::create):
(WebCore::GStreamerInternalVideoDecoder::GStreamerInternalVideoDecoder):
(WebCore::GStreamerInternalVideoDecoder::decode):
(WebCore::GStreamerInternalVideoDecoder::isStarted const): Deleted.

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




More information about the webkit-changes mailing list