Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7da23e6eff7f6411e94eb393d56eee818d372fca
      
https://github.com/WebKit/WebKit/commit/7da23e6eff7f6411e94eb393d56eee818d372fca
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M Source/WebCore/Modules/webcodecs/WebCodecsImageDecoder.cpp

  Log Message:
  -----------
  WebCodecsImageDecoder generates VideoFrames with zero durations
https://bugs.webkit.org/show_bug.cgi?id=322067
rdar://185257570

Reviewed by Jean-Yves Avenard.

According to the spec of VideoFrame[1], the duration of the VideoFrame should be
in microseconds. WebCodecsImageDecoder creates VideoFrames with duration in
seconds. When casting the Second values()to uint64_t, all of them become zeros.

[1] https://www.w3.org/TR/webcodecs/#videoframe

* Source/WebCore/Modules/webcodecs/WebCodecsImageDecoder.cpp:
(WebCore::WebCodecsImageDecoder::fulfillPendingDecodePromises):

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



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

Reply via email to