Title: [267335] trunk/Source/WebCore
Revision
267335
Author
commit-qu...@webkit.org
Date
2020-09-21 01:26:17 -0700 (Mon, 21 Sep 2020)

Log Message

[GStreamer] media/media-can-play-mp3.html fails
https://bugs.webkit.org/show_bug.cgi?id=216692

Patch by Philippe Normand <pnorm...@igalia.com> on 2020-09-21
Reviewed by Darin Adler.

Add mp3 to supported codecs map when a valid decoder has been
found by the GStreamer registry scanner.

* platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::initialize):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (267334 => 267335)


--- trunk/Source/WebCore/ChangeLog	2020-09-21 07:42:32 UTC (rev 267334)
+++ trunk/Source/WebCore/ChangeLog	2020-09-21 08:26:17 UTC (rev 267335)
@@ -1,3 +1,16 @@
+2020-09-21  Philippe Normand  <pnorm...@igalia.com>
+
+        [GStreamer] media/media-can-play-mp3.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=216692
+
+        Reviewed by Darin Adler.
+
+        Add mp3 to supported codecs map when a valid decoder has been
+        found by the GStreamer registry scanner.
+
+        * platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
+        (WebCore::GStreamerRegistryScanner::initialize):
+
 2020-09-20  Sam Weinig  <wei...@apple.com>
 
         Performance.navigation and Performance.timing are incorrectly exposed to workers

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp (267334 => 267335)


--- trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp	2020-09-21 07:42:32 UTC (rev 267334)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp	2020-09-21 08:26:17 UTC (rev 267335)
@@ -272,6 +272,7 @@
         m_mimeTypeSet.add(AtomString("audio/mp3"));
         m_mimeTypeSet.add(AtomString("audio/x-mp3"));
         m_codecMap.add(AtomString("audio/mp3"), false);
+        m_codecMap.add(AtomString("mp3"), false);
     }
 
     if (hasElementForMediaType(m_audioDecoderFactories, "audio/mpeg, mpegversion=(int)2")) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to