Modified: trunk/LayoutTests/ChangeLog (272315 => 272316)
--- trunk/LayoutTests/ChangeLog 2021-02-03 16:12:57 UTC (rev 272315)
+++ trunk/LayoutTests/ChangeLog 2021-02-03 16:41:01 UTC (rev 272316)
@@ -1,3 +1,15 @@
+2021-02-03 Fernando Jimenez Moreno <[email protected]>
+
+ [GStreamer] Add DASH support in the registry scanner
+ https://bugs.webkit.org/show_bug.cgi?id=215922
+
+ Reviewed by Philippe Normand.
+
+ Add test to check that 'application/dash+xml' can potentially be played
+
+ * platform/glib/media/media-can-play-dash-expected.txt: Added.
+ * platform/glib/media/media-can-play-dash.html: Added.
+
2021-02-03 Rob Buis <[email protected]>
Rename aspect-ratio/parsing/contain-intrinsic-size*
Added: trunk/LayoutTests/platform/glib/media/media-can-play-dash-expected.txt (0 => 272316)
--- trunk/LayoutTests/platform/glib/media/media-can-play-dash-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/glib/media/media-can-play-dash-expected.txt 2021-02-03 16:41:01 UTC (rev 272316)
@@ -0,0 +1,8 @@
+
+Test HTMLMediaElement canPlayType() method for DASH.
+
+These tests may be expected to fail if the WebKit port does not support the format.
+
+EXPECTED (video.canPlayType('application/dash+xml') == 'maybe') OK
+END OF TEST
+
Added: trunk/LayoutTests/platform/glib/media/media-can-play-dash.html (0 => 272316)
--- trunk/LayoutTests/platform/glib/media/media-can-play-dash.html (rev 0)
+++ trunk/LayoutTests/platform/glib/media/media-can-play-dash.html 2021-02-03 16:41:01 UTC (rev 272316)
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script src=""
+ <script>
+ function start() {
+ video = mediaElement = document.getElementsByTagName('video')[0];
+
+ testExpected("video.canPlayType('application/dash+xml')", "maybe");
+
+ endTest();
+ }
+ </script>
+ </head>
+ <body _onload_="start()">
+ <video controls></video>
+ <p>Test HTMLMediaElement <em>canPlayType()</em> method for DASH.</p>
+ <p>These tests may be expected to fail if the WebKit port does not support the format.</p>
+ </body>
+</html>
Modified: trunk/Source/WebCore/ChangeLog (272315 => 272316)
--- trunk/Source/WebCore/ChangeLog 2021-02-03 16:12:57 UTC (rev 272315)
+++ trunk/Source/WebCore/ChangeLog 2021-02-03 16:41:01 UTC (rev 272316)
@@ -1,3 +1,15 @@
+2021-02-03 Fernando Jimenez Moreno <[email protected]>
+
+ [GStreamer] Add DASH support in the registry scanner
+ https://bugs.webkit.org/show_bug.cgi?id=215922
+
+ Reviewed by Philippe Normand.
+
+ Test: platform/glib/media/media-can-play-dash.html
+
+ * platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
+ (WebCore::GStreamerRegistryScanner::initializeDecoders):
+
2021-02-03 Zalan Bujtas <[email protected]>
[LFC][IFC] Remove font.size() == 0 optimization in TextUtil::width
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp (272315 => 272316)
--- trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp 2021-02-03 16:12:57 UTC (rev 272315)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp 2021-02-03 16:41:01 UTC (rev 272316)
@@ -336,6 +336,7 @@
{ ElementFactories::Type::Demuxer, "application/x-3gp", { }, { } },
{ ElementFactories::Type::Demuxer, "application/x-hls", { "application/vnd.apple.mpegurl", "application/x-mpegurl" }, { } },
{ ElementFactories::Type::Demuxer, "application/x-pn-realaudio", { }, { } },
+ { ElementFactories::Type::Demuxer, "application/dash+xml", { }, { } },
{ ElementFactories::Type::Demuxer, "audio/x-aiff", { }, { } },
{ ElementFactories::Type::Demuxer, "audio/x-wav", { "audio/x-wav", "audio/wav", "audio/vnd.wave" }, { "1" } },
{ ElementFactories::Type::Demuxer, "video/quicktime", { }, { } },