[webkit-changes] [WebKit/WebKit] 1302f1: [GStreamer] Video sink should discard late frames ...

Xabier Rodríguez noreply at github.com
Mon Nov 14 04:58:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1302f18a970637284e926d350a0ab853d0cf9a15
      https://github.com/WebKit/WebKit/commit/1302f18a970637284e926d350a0ab853d0cf9a15
  Author: Xabier Rodriguez-Calvar <calvaris at igalia.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

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

  Log Message:
  -----------
  [GStreamer] Video sink should discard late frames to avoid audio and video desynchronization
https://bugs.webkit.org/show_bug.cgi?id=247740

Reviewed by Philippe Normand.

In some cases and/or platforms video frames can arrive late and if are not discarded, they end up being painted and
there can be a/v desynchronization. Setting the max-lateness property forces the sink to discard late frames and solve
the problem.

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

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




More information about the webkit-changes mailing list