Changeset 270728 in webkit


Ignore:
Timestamp:
Dec 11, 2020 7:01:14 PM (3 years ago)
Author:
jer.noble@apple.com
Message:

[WebM] Mark Opus and Vorbis as supported track types.
https://bugs.webkit.org/show_bug.cgi?id=219819

Rubber-stamped by Eric Carlson.

  • platform/graphics/cocoa/SourceBufferParserWebM.cpp:

(WebCore::SourceBufferParserWebM::supportedAudioCodecs):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r270727 r270728  
     12020-12-11  Jer Noble  <jer.noble@apple.com>
     2
     3        [WebM] Mark Opus and Vorbis as supported track types.
     4        https://bugs.webkit.org/show_bug.cgi?id=219819
     5
     6        Rubber-stamped by Eric Carlson.
     7
     8        * platform/graphics/cocoa/SourceBufferParserWebM.cpp:
     9        (WebCore::SourceBufferParserWebM::supportedAudioCodecs):
     10
    1112020-12-11  Jer Noble  <jer.noble@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp

    r270727 r270728  
    12021202const HashSet<String>& SourceBufferParserWebM::supportedAudioCodecs()
    12031203{
    1204     static auto codecs = makeNeverDestroyed<HashSet<String>>({ });
     1204    static auto codecs = makeNeverDestroyed<HashSet<String>>({
     1205#if ENABLE(VORBIS)
     1206        "A_VORBIS",
     1207#endif
     1208#if ENABLE(OPUS)
     1209        "A_OPUS",
     1210#endif
     1211    });
    12051212    return codecs;
    12061213}
Note: See TracChangeset for help on using the changeset viewer.