[webkit-changes] [WebKit/WebKit] 565e5b: [GStreamer] Support for creating VideoFrame from c...

Philippe Normand noreply at github.com
Tue Dec 13 01:18:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 565e5b902e22d78e0a47454b16a8bf30525b3e46
      https://github.com/WebKit/WebKit/commit/565e5b902e22d78e0a47454b16a8bf30525b3e46
  Author: Philippe Normand <philn at igalia.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

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

  Log Message:
  -----------
  [GStreamer] Support for creating VideoFrame from current video element frame
https://bugs.webkit.org/show_bug.cgi?id=248954

Reviewed by Xabier Rodriguez-Calvar.

The videoFrameForCurrentTime() method is needed for eg, feeding a <video> element frame to a
WebCodec video encoder.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::videoFrameForCurrentTime):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

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




More information about the webkit-changes mailing list