Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51f9023388fae9e087b9bb74d992ebc22feb3635
      
https://github.com/WebKit/WebKit/commit/51f9023388fae9e087b9bb74d992ebc22feb3635
  Author: Youenn Fablet <you...@apple.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M LayoutTests/http/wpt/webcodecs/encode-bitrate-change-expected.txt
    M LayoutTests/http/wpt/webcodecs/encode-bitrate-change.html
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp

  Log Message:
  -----------
  WebCodecsVideoEncoder::configure should only update rates if there is an 
internal encoder
rdar://147294536
https://bugs.webkit.org/show_bug.cgi?id=289943

Reviewed by Jean-Yves Avenard.

We optimize the configure call when only bitrate/framerate changes.
When a reset call happens between two configure calls, we end up with no 
internal encoder.
In that case, the second configure call should do a regular full configure.

* LayoutTests/http/wpt/webcodecs/encode-bitrate-change-expected.txt:
* LayoutTests/http/wpt/webcodecs/encode-bitrate-change.html:
* Source/WebCore/Modules/webcodecs/WebCodecsVideoEncoder.cpp:
(WebCore::WebCodecsVideoEncoder::configure):

Canonical link: https://commits.webkit.org/292301@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