[webkit-changes] [WebKit/WebKit] bbf537: WebCodecsVideoFrame::create from another WebCodecs...

youennf noreply at github.com
Tue May 7 05:05:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bbf537ea1dbb7e545f33b2cea59f304fff963016
      https://github.com/WebKit/WebKit/commit/bbf537ea1dbb7e545f33b2cea59f304fff963016
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    A LayoutTests/http/wpt/webcodecs/videoFrame-clone-timestamp-expected.txt
    A LayoutTests/http/wpt/webcodecs/videoFrame-clone-timestamp.html
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp

  Log Message:
  -----------
  WebCodecsVideoFrame::create from another WebCodecsVideoFrame is not correct with regards to timestamp
rdar://127474678
https://bugs.webkit.org/show_bug.cgi?id=273775

Reviewed by Jean-Yves Avenard.

Make sure to clone in case of a different timestamp to keep WebCodecsVideoFrame and VideoFrame timestamps the same.

* LayoutTests/http/wpt/webcodecs/videoFrame-clone-timestamp-expected.txt: Added.
* LayoutTests/http/wpt/webcodecs/videoFrame-clone-timestamp.html: Added.
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp:
(WebCore::WebCodecsVideoFrame::create):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list