[webkit-changes] [WebKit/WebKit] 5136aa: [GStreamer] Reduce use of WTF_ALLOW_UNSAFE_BUFFER_...
Philippe Normand
noreply at github.com
Tue Jan 14 10:43:34 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5136aa9003a3e39d6ac991abcc0acf2fe48c20fd
https://github.com/WebKit/WebKit/commit/5136aa9003a3e39d6ac991abcc0acf2fe48c20fd
Author: Philippe Normand <philn at igalia.com>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp
M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.h
Log Message:
-----------
[GStreamer] Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in VideoEncoderPrivate
https://bugs.webkit.org/show_bug.cgi?id=285816
Reviewed by Xabier Rodriguez-Calvar.
Use std::array to store temporal and spatial bitrate allocations.
* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp:
(webkit_video_encoder_class_init):
* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.h:
(WebKitVideoEncoderBitRateAllocation::setBitRate):
(WebKitVideoEncoderBitRateAllocation::getBitRate const):
Canonical link: https://commits.webkit.org/288868@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