[webkit-changes] [WebKit/WebKit] 877ae8: [GStreamer] Fix trimming of track IDs

Vivienne noreply at github.com
Tue Feb 27 05:28:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 877ae86c324a8559600afb44da0b12b067c91c4e
      https://github.com/WebKit/WebKit/commit/877ae86c324a8559600afb44da0b12b067c91c4e
  Author: Vivienne Watermeier <vwatermeier at igalia.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

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

  Log Message:
  -----------
  [GStreamer] Fix trimming of track IDs
https://bugs.webkit.org/show_bug.cgi?id=270100

Reviewed by Xabier Rodriguez-Calvar.

Use StringView::find() to trim zeroes instead of ::trim(), to not remove
trailing zeroes.

See previous PR: https://github.com/WebKit/WebKit/pull/23668

* Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
(WebCore::trimStreamId): fix implementation

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



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


More information about the webkit-changes mailing list