Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1fff76c0299c8f06095f170363464e994a11eba7
      
https://github.com/WebKit/WebKit/commit/1fff76c0299c8f06095f170363464e994a11eba7
  Author: Enrique Ocaña González <[email protected]>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.h
    M Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp

  Log Message:
  -----------
  [MSE][GStreamer] Regressions in YouTube MSE Conformance Tests 2019
https://bugs.webkit.org/show_bug.cgi?id=321135

Reviewed by Xabier Rodriguez-Calvar.

Landing of 
https://flagged.apple.com:443/proxy?t2=dN1B5H5Oo6&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE3NzY1QG1haW4=&emid=3b4921fb-f4be-4e24-a096-ff3f3e0b0b8e&c=11
 caused regressions
in
https://flagged.apple.com:443/proxy?t2=DS5E8V1nK1&o=aHR0cHM6Ly95dGxyLWNlcnQuYXBwc3BvdC5jb20vMjAxOS9tYWluLmh0bWw/bm92cDk9dHJ1ZQ==&emid=3b4921fb-f4be-4e24-a096-ff3f3e0b0b8e&c=11.
 Looks like
those tests, when ran on
an old GStreamer version (1.18), still need the
code that extends the samples to the beginning.

This change
reintroduces the code block that extend the samples to the
beginning, but only applies the correction on GStreamer versions older
than 1.20, like the one currently used by Comcast downstream.

* Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.cpp:
(WebCore::MediaSampleGStreamer::extendToTheBeginning): Restored utility method 
as it was before 317765@main.
* Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.h: Restored 
extendToTheBeginning().
* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::appsinkNewSample): Extend the samples to the
beginning on GStreamer versions older than
1.20.

Canonical link: 
https://flagged.apple.com:443/proxy?t2=DL0z1p0TP9&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE4NzA4QG1haW4=&emid=3b4921fb-f4be-4e24-a096-ff3f3e0b0b8e&c=11



To unsubscribe from these emails,
change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to