[webkit-changes] [WebKit/WebKit] 4afd4a: Cherry-pick 287660 at main (3a8aaf9dc79d). https://bu...
Philippe Normand
noreply at github.com
Tue Dec 17 05:41:14 PST 2024
Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: 4afd4a0848cf05a864f132bd4b2729ae21323247
https://github.com/WebKit/WebKit/commit/4afd4a0848cf05a864f132bd4b2729ae21323247
Author: Philippe Normand <philn at igalia.com>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp
M Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h
M Source/WebCore/Modules/webaudio/MediaStreamAudioSourceGStreamer.cpp
Log Message:
-----------
Cherry-pick 287660 at main (3a8aaf9dc79d). https://bugs.webkit.org/show_bug.cgi?id=284364
[GStreamer][MediaStream] Reduce memory allocations in MediaStreamAudioSource
https://bugs.webkit.org/show_bug.cgi?id=284364
Reviewed by Xabier Rodriguez-Calvar.
Keep track of the GstAudioInfo and corresponding caps instead of allocating them at each iteration.
* Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h:
* Source/WebCore/Modules/webaudio/MediaStreamAudioSourceGStreamer.cpp:
(WebCore::MediaStreamAudioSource::consumeAudio):
Canonical link: https://commits.webkit.org/287660@main
Canonical link: https://commits.webkit.org/282416.370@webkitglib/2.46
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