Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a8aaf9dc79df5d62f4f25e7948d35aa0e85126b
      
https://github.com/WebKit/WebKit/commit/3a8aaf9dc79df5d62f4f25e7948d35aa0e85126b
  Author: Philippe Normand <[email protected]>
  Date:   2024-12-11 (Wed, 11 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:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to