[webkit-changes] [WebKit/WebKit] ee67dd: Cherry-pick 261635 at main (7e9d65f61a53). https://bu...

Philippe Normand noreply at github.com
Wed Mar 15 01:58:29 PDT 2023


  Branch: refs/heads/webkitglib/2.38
  Home:   https://github.com/WebKit/WebKit
  Commit: ee67ddc9bbc08f0a691b0d424ceb4bc24593c114
      https://github.com/WebKit/WebKit/commit/ee67ddc9bbc08f0a691b0d424ceb4bc24593c114
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

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

  Log Message:
  -----------
  Cherry-pick 261635 at main (7e9d65f61a53). https://bugs.webkit.org/show_bug.cgi?id=253769

    [GStreamer] Unmute doesn't work
    https://bugs.webkit.org/show_bug.cgi?id=253769

    Reviewed by Carlos Garcia Campos and Xabier Rodriguez-Calvar.

    The player now maintains an internal variable for the audio sink mute state, in order to avoid
    false-positive mute change notifications. Receiving a notify::mute signal from the pipeline doesn't
    necessarily means the mute state has changed, for instance the PulseAudio sink emits that signal
    unconditionally before starting up.

    * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    (WebCore::MediaPlayerPrivateGStreamer::isMuted const):
    (WebCore::MediaPlayerPrivateGStreamer::setMuted):
    (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfMute):
    (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
    (WebCore::MediaPlayerPrivateGStreamer::setStreamVolumeElement):
    * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

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




More information about the webkit-changes mailing list