[webkit-changes] [WebKit/WebKit] eec960: [GStreamer][MediaStream] Over-allocation of buffer...

Philippe Normand noreply at github.com
Fri Apr 21 08:20:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eec96000efdb614b174586c139e8df8ef7d4f007
      https://github.com/WebKit/WebKit/commit/eec96000efdb614b174586c139e8df8ef7d4f007
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M Source/WebCore/Modules/webaudio/MediaStreamAudioSourceGStreamer.cpp

  Log Message:
  -----------
  [GStreamer][MediaStream] Over-allocation of buffers sourced from the WebAudio bus
https://bugs.webkit.org/show_bug.cgi?id=255784

Reviewed by Xabier Rodriguez-Calvar.

The number of channels was already implied when using GST_AUDIO_INFO_BPF(), so we ended up
allocating too much in cases of bus layout other than mono.

* Source/WebCore/Modules/webaudio/MediaStreamAudioSourceGStreamer.cpp:
(WebCore::MediaStreamAudioSource::consumeAudio):

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




More information about the webkit-changes mailing list