[webkit-changes] [WebKit/WebKit] b05235: [GStreamer] Avoid preserve pitch with native audio

Xabier Rodríguez noreply at github.com
Thu Jul 20 04:12:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b05235c4a686a2ae29b124ce2ddaa9fd6ec650d5
      https://github.com/WebKit/WebKit/commit/b05235c4a686a2ae29b124ce2ddaa9fd6ec650d5
  Author: Xabier Rodriguez-Calvar <calvaris at igalia.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h

  Log Message:
  -----------
  [GStreamer] Avoid preserve pitch with native audio
https://bugs.webkit.org/show_bug.cgi?id=259356

Reviewed by Philippe Normand.

Preserve pitch adds a scaletempo element to the pipeline, which prevents
decoder-sinks with fancy caps to link as scaletempo only accepts raw caps.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::setPlaybackFlags):
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
(WebCore::setPlaybackFlags): Deleted.
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

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




More information about the webkit-changes mailing list