[webkit-changes] [WebKit/WebKit] f3fe7d: [Cocoa] Clean up AVFoundation MIME type code

Eric Carlson noreply at github.com
Thu Jun 27 10:33:07 PDT 2024


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

  Changed paths:
    M Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
    M Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h
    M Source/WebCore/platform/graphics/avfoundation/objc/AVAssetMIMETypeCache.mm

  Log Message:
  -----------
  [Cocoa] Clean up AVFoundation MIME type code
https://bugs.webkit.org/show_bug.cgi?id=275867
rdar://128759015

Reviewed by Andy Estes.

Remove some unused MIME type code from MediaPlayerPrivateAVFoundation.cpp. Remove
ogg from the MIME types rejected without consulting AVFoundation.

* Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::isUnsupportedMIMEType): Deleted.
(WebCore::MediaPlayerPrivateAVFoundation::staticMIMETypeList): Deleted.
* Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* Source/WebCore/platform/graphics/avfoundation/objc/AVAssetMIMETypeCache.mm:
(WebCore::AVAssetMIMETypeCache::isUnsupportedContainerType):

Canonical link: https://commits.webkit.org/280418@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