Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f97eef34b14cedbdc0a5e44c231599c6438eea28
      
https://github.com/WebKit/WebKit/commit/f97eef34b14cedbdc0a5e44c231599c6438eea28
  Author: Philippe Normand <ph...@igalia.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

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

  Log Message:
  -----------
  [GStreamer][MSE] Minor clean-ups and refactoring
https://bugs.webkit.org/show_bug.cgi?id=297957

Reviewed by Xabier Rodriguez-Calvar.

* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::appsinkNewSample): Call gst_sample_get_buffer() once.
(WebCore::AppendPipeline::hookTrackEvents): No need to re-get the appsink pad, 
the one passed as
parameter to the notify::caps signal handler can be used. Also make this work 
in builds with ASSERT
enabled, not only debug builds.
* 
Source/WebCore/platform/graphics/gstreamer/mse/SourceBufferPrivateGStreamer.cpp:
(WebCore::SourceBufferPrivateGStreamer::enqueueSample): Use and dump the text 
sample buffer only for
builds enabling GST_DEBUG and use GST_MEMDUMP to log its contents.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to