Title: [270728] trunk/Source/WebCore
- Revision
- 270728
- Author
- [email protected]
- Date
- 2020-12-11 19:01:14 -0800 (Fri, 11 Dec 2020)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (270727 => 270728)
--- trunk/Source/WebCore/ChangeLog 2020-12-12 02:36:36 UTC (rev 270727)
+++ trunk/Source/WebCore/ChangeLog 2020-12-12 03:01:14 UTC (rev 270728)
@@ -1,5 +1,15 @@
2020-12-11 Jer Noble <[email protected]>
+ [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):
+
+2020-12-11 Jer Noble <[email protected]>
+
[Cocoa] Add Experimental VP8 support
https://bugs.webkit.org/show_bug.cgi?id=219732
<rdar://problem/72171055>
Modified: trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp (270727 => 270728)
--- trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp 2020-12-12 02:36:36 UTC (rev 270727)
+++ trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp 2020-12-12 03:01:14 UTC (rev 270728)
@@ -1201,7 +1201,14 @@
const HashSet<String>& SourceBufferParserWebM::supportedAudioCodecs()
{
- static auto codecs = makeNeverDestroyed<HashSet<String>>({ });
+ static auto codecs = makeNeverDestroyed<HashSet<String>>({
+#if ENABLE(VORBIS)
+ "A_VORBIS",
+#endif
+#if ENABLE(OPUS)
+ "A_OPUS",
+#endif
+ });
return codecs;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes