Title: [270763] trunk/Source/WebCore
Revision
270763
Author
[email protected]
Date
2020-12-14 02:17:00 -0800 (Mon, 14 Dec 2020)

Log Message

[GStreamer][EME][Thunder] Opus should be supported by the decryptor
https://bugs.webkit.org/show_bug.cgi?id=219742

Reviewed by Philippe Normand.

* platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp:
Added Opus to the sink and src caps.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270762 => 270763)


--- trunk/Source/WebCore/ChangeLog	2020-12-14 09:43:55 UTC (rev 270762)
+++ trunk/Source/WebCore/ChangeLog	2020-12-14 10:17:00 UTC (rev 270763)
@@ -1,3 +1,13 @@
+2020-12-14  Xabier Rodriguez Calvar  <[email protected]>
+
+        [GStreamer][EME][Thunder] Opus should be supported by the decryptor
+        https://bugs.webkit.org/show_bug.cgi?id=219742
+
+        Reviewed by Philippe Normand.
+
+        * platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp:
+        Added Opus to the sink and src caps.
+
 2020-12-14  Youenn Fablet  <[email protected]>
 
         Pass an isolated copy of Settings to workers and worklets.

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp (270762 => 270763)


--- trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp	2020-12-14 09:43:55 UTC (rev 270762)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/eme/WebKitThunderDecryptorGStreamer.cpp	2020-12-14 10:17:00 UTC (rev 270763)
@@ -47,7 +47,7 @@
 #define GST_CAT_DEFAULT webkitMediaThunderDecryptDebugCategory
 
 static const char* cencEncryptionMediaTypes[] = { "video/mp4", "audio/mp4", "video/x-h264", "audio/mpeg", nullptr };
-static const char* webmEncryptionMediaTypes[] = { "video/webm", "audio/webm", "video/x-vp9", nullptr };
+static const char* webmEncryptionMediaTypes[] = { "video/webm", "audio/webm", "video/x-vp9", "audio/x-opus", nullptr };
 
 static GstStaticPadTemplate srcTemplate = GST_STATIC_PAD_TEMPLATE("src",
     GST_PAD_SRC,
@@ -59,7 +59,8 @@
         "audio/mp4; "
         "audio/mpeg; "
         "video/x-h264; "
-        "video/x-vp9; "));
+        "video/x-vp9; "
+        "audio/x-opus; "));
 
 #define webkit_media_thunder_decrypt_parent_class parent_class
 WEBKIT_DEFINE_TYPE(WebKitMediaThunderDecrypt, webkit_media_thunder_decrypt, WEBKIT_TYPE_MEDIA_CENC_DECRYPT)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to