[webkit-changes] [WebKit/WebKit] b2fe9a: [GStreamer][MediaStream] AudioDestination buffers ...

Philippe Normand noreply at github.com
Thu Feb 16 04:43:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b2fe9a2501d1b73c500755ab1c90f6c34ba1eb86
      https://github.com/WebKit/WebKit/commit/b2fe9a2501d1b73c500755ab1c90f6c34ba1eb86
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

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

  Log Message:
  -----------
  [GStreamer][MediaStream] AudioDestination buffers layout is incorrect
https://bugs.webkit.org/show_bug.cgi?id=252319

Reviewed by Xabier Rodriguez-Calvar.

Copy the bus data to a tightly packed GstBuffer memory, as mandated by the audio layout advertised
by the caps. Also drive-by, set the PTS on the new buffer.

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

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




More information about the webkit-changes mailing list