[webkit-changes] [WebKit/WebKit] b9047a: [macOS] Support WebM files with no track ID

Eric Carlson noreply at github.com
Thu Jun 22 13:42:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9047adba09699809e866ee7b8fc43ae92c763fe
      https://github.com/WebKit/WebKit/commit/b9047adba09699809e866ee7b8fc43ae92c763fe
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M Source/WebKit/Shared/mac/MediaFormatReader/MediaFormatReader.cpp

  Log Message:
  -----------
  [macOS] Support WebM files with no track ID
https://bugs.webkit.org/show_bug.cgi?id=258402
rdar://110455790

Reviewed by Andy Estes and David Kilzer.

Although WebM track ID is a required header field some otherwise valid files
don't have them. MediaTrackReader requires a track ID, so create an ID when
a file doesn't have one.

* Source/WebKit/Shared/mac/MediaFormatReader/MediaFormatReader.cpp:
(WebKit::MediaFormatReader::didParseTracks):

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




More information about the webkit-changes mailing list