[webkit-changes] [WebKit/WebKit] e4eb5a: [GStreamer] Don't perform position queries on vide...

Philippe Normand noreply at github.com
Thu Dec 8 04:41:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4eb5ae5478a5bf650fae501a2adaf148b5cdc6e
      https://github.com/WebKit/WebKit/commit/e4eb5ae5478a5bf650fae501a2adaf148b5cdc6e
  Author: Philippe Normand <philn at igalia.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

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

  Log Message:
  -----------
  [GStreamer] Don't perform position queries on video sink when the player is for audio only
https://bugs.webkit.org/show_bug.cgi?id=248739

Reviewed by Xabier Rodriguez-Calvar.

When the player is for an `<audio>` element the underlying video sink is a fake sink, so position
queries on that one will be useless.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::gstreamerPositionFromSinks const):

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




More information about the webkit-changes mailing list