Skip to content

Commit

Permalink
Merge r244111 - there is no vp8 support in youtube.com/html5 page wit…
Browse files Browse the repository at this point in the history
…h libwebkit2gtk 2.24 (MSE enabled)

https://bugs.webkit.org/show_bug.cgi?id=196615

Reviewed by Xabier Rodriguez-Calvar.

Source/WebCore:

Add vp8.0 and vp9.0 in supported mime-types if the corresponding video decoders are found.

No new tests, existing web-platform-tests cover this change.

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

LayoutTests:

Update WPE baselines and add/unskip the
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType.html test in GTK.

* platform/gtk/TestExpectations:
* platform/gtk/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: Copied from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt.
* platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt:
  • Loading branch information
philn authored and carlosgcampos committed May 9, 2019
1 parent 1e19057 commit ecb715d
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 2 deletions.
14 changes: 14 additions & 0 deletions LayoutTests/ChangeLog
@@ -1,3 +1,17 @@
2019-04-10 Philippe Normand <pnormand@igalia.com>

there is no vp8 support in youtube.com/html5 page with libwebkit2gtk 2.24 (MSE enabled)
https://bugs.webkit.org/show_bug.cgi?id=196615

Reviewed by Xabier Rodriguez-Calvar.

Update WPE baselines and add/unskip the
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType.html test in GTK.

* platform/gtk/TestExpectations:
* platform/gtk/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: Copied from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt.
* platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt:

2019-04-22 Carlos Garcia Campos <cgarcia@igalia.com>

REGRESSION(r241289): [GTK] accessibility/removed-continuation-element-causes-crash.html and accessibility/removed-anonymous-block-child-causes-crash.html crashes
Expand Down
2 changes: 0 additions & 2 deletions LayoutTests/platform/gtk/TestExpectations
Expand Up @@ -3120,8 +3120,6 @@ webkit.org/b/148935 accessibility/scroll-to-make-visible-nested-2.html [ Failure
webkit.org/b/148935 accessibility/scroll-to-make-visible-nested.html [ Failure ]
webkit.org/b/148935 accessibility/scroll-to-make-visible-with-subfocus.html [ Failure ]

webkit.org/b/148936 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType.html [ Failure ]

webkit.org/b/149128 fast/text/control-characters [ ImageOnlyFailure ]

# web-platform-tests XHR tests
Expand Down
@@ -0,0 +1,62 @@


PASS utility code
PASS application/octet-stream not supported
PASS fictional formats and codecs not supported
PASS audio/mp4 (optional)
PASS audio/mp4; codecs="mp4a.40.2" (optional)
PASS audio/mp4 with bogus codec
PASS audio/mp4 with and without codecs
PASS audio/ogg (optional)
PASS audio/ogg; codecs="opus" (optional)
PASS audio/ogg; codecs="vorbis" (optional)
PASS audio/ogg with bogus codec
PASS audio/ogg with and without codecs
PASS audio/wav (optional)
PASS audio/wav; codecs="1" (optional)
PASS audio/wav with bogus codec
PASS audio/wav with and without codecs
PASS audio/webm (optional)
PASS audio/webm; codecs="opus" (optional)
PASS audio/webm; codecs="vorbis" (optional)
PASS audio/webm with bogus codec
PASS audio/webm with and without codecs
PASS video/3gpp (optional)
FAIL video/3gpp; codecs="samr" (optional) assert_equals: video/3gpp; codecs="samr" expected "probably" but got ""
PASS video/3gpp; codecs="mp4v.20.8" (optional)
PASS video/3gpp codecs subset
PASS video/3gpp codecs order
PASS video/3gpp with bogus codec
PASS video/3gpp with and without codecs
PASS video/mp4 (optional)
PASS video/mp4; codecs="mp4a.40.2" (optional)
PASS video/mp4; codecs="avc1.42E01E" (optional)
PASS video/mp4; codecs="avc1.4D401E" (optional)
PASS video/mp4; codecs="avc1.58A01E" (optional)
PASS video/mp4; codecs="avc1.64001E" (optional)
PASS video/mp4; codecs="mp4v.20.8" (optional)
PASS video/mp4; codecs="mp4v.20.240" (optional)
PASS video/mp4 codecs subset
PASS video/mp4 codecs order
PASS video/mp4 with bogus codec
PASS video/mp4 with and without codecs
PASS video/ogg (optional)
PASS video/ogg; codecs="opus" (optional)
PASS video/ogg; codecs="vorbis" (optional)
PASS video/ogg; codecs="theora" (optional)
PASS video/ogg codecs subset
PASS video/ogg codecs order
PASS video/ogg with bogus codec
PASS video/ogg with and without codecs
PASS video/webm (optional)
PASS video/webm; codecs="opus" (optional)
PASS video/webm; codecs="vorbis" (optional)
PASS video/webm; codecs="vp8" (optional)
PASS video/webm; codecs="vp8.0" (optional)
PASS video/webm; codecs="vp9" (optional)
PASS video/webm; codecs="vp9.0" (optional)
PASS video/webm codecs subset
PASS video/webm codecs order
PASS video/webm with bogus codec
PASS video/webm with and without codecs

14 changes: 14 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,17 @@
2019-04-10 Philippe Normand <pnormand@igalia.com>

there is no vp8 support in youtube.com/html5 page with libwebkit2gtk 2.24 (MSE enabled)
https://bugs.webkit.org/show_bug.cgi?id=196615

Reviewed by Xabier Rodriguez-Calvar.

Add vp8.0 and vp9.0 in supported mime-types if the corresponding video decoders are found.

No new tests, existing web-platform-tests cover this change.

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

2019-04-10 Philippe Normand <pnormand@igalia.com>

[GStreamer] Adaptive streaming playback broken with GStreamer < 1.12
Expand Down
Expand Up @@ -168,10 +168,12 @@ void GStreamerRegistryScanner::initialize()
if (vp8DecoderAvailable) {
m_codecMap.add(AtomicString("vp8"), vp8DecoderAvailable.isUsingHardware);
m_codecMap.add(AtomicString("x-vp8"), vp8DecoderAvailable.isUsingHardware);
m_codecMap.add(AtomicString("vp8.0"), vp8DecoderAvailable.isUsingHardware);
}
if (vp9DecoderAvailable) {
m_codecMap.add(AtomicString("vp9"), vp9DecoderAvailable.isUsingHardware);
m_codecMap.add(AtomicString("x-vp9"), vp9DecoderAvailable.isUsingHardware);
m_codecMap.add(AtomicString("vp9.0"), vp9DecoderAvailable.isUsingHardware);
}
if (opusSupported)
m_mimeTypeSet.add(AtomicString("audio/webm"));
Expand Down

0 comments on commit ecb715d

Please sign in to comment.