[webkit-changes] [WebKit/WebKit] aeffd1: [GStreamer] codecForStreamId() should return empty...

Philippe Normand noreply at github.com
Tue May 30 00:36:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aeffd122d8e7ee98b3825ad2421e499644c9131c
      https://github.com/WebKit/WebKit/commit/aeffd122d8e7ee98b3825ad2421e499644c9131c
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

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

  Log Message:
  -----------
  [GStreamer] codecForStreamId() should return empty string when codec is unknown
https://bugs.webkit.org/show_bug.cgi?id=257455

Reviewed by Xabier Rodriguez-Calvar.

Make sure to return an empty string if the streamId hasn't been internally cached yet. Call sites in
TrackPrivateBaseGStreamer sub-classes can already handle this.

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

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




More information about the webkit-changes mailing list