[webkit-changes] [WebKit/WebKit] d32c30: [GStreamer] Fix build without GStreamer debug

Olivier Blin noreply at github.com
Tue Jan 2 12:11:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d32c300612cd3828c7b98a5312dbc81658a62114
      https://github.com/WebKit/WebKit/commit/d32c300612cd3828c7b98a5312dbc81658a62114
  Author: Olivier Blin <olivier.blin at softathome.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

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

  Log Message:
  -----------
  [GStreamer] Fix build without GStreamer debug
https://bugs.webkit.org/show_bug.cgi?id=266983

Reviewed by Philippe Normand.

The streamTypeToString() helper is only defined when GStreamer debug is enabled.
Also avoid defining findPipeline() which is unused when debug is disabled.

* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::didReceiveInitializationSegment):
* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp:
(webKitMediaSrcEmitStreams):

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




More information about the webkit-changes mailing list