Title: [287349] trunk
- Revision
- 287349
- Author
- [email protected]
- Date
- 2021-12-22 00:44:47 -0800 (Wed, 22 Dec 2021)
Log Message
REGRESSION(r284368) [GStreamer] test imported/w3c/web-platform-tests/media-source/mediasource-video-is-visible.html fails on GTK and WPE
https://bugs.webkit.org/show_bug.cgi?id=234352
Patch by Philippe Normand <[email protected]> on 2021-12-22
Reviewed by Xabier Rodriguez-Calvar.
Source/WebCore:
r284368 introduced a new behavior in the GL sink where any downstream not being a tag event
was triggering a flush in the media player, which was not originally intended.
* platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:
(webKitGLVideoSinkSetMediaPlayerPrivate):
LayoutTests:
* platform/glib/TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (287348 => 287349)
--- trunk/LayoutTests/ChangeLog 2021-12-22 06:36:13 UTC (rev 287348)
+++ trunk/LayoutTests/ChangeLog 2021-12-22 08:44:47 UTC (rev 287349)
@@ -1,3 +1,12 @@
+2021-12-22 Philippe Normand <[email protected]>
+
+ REGRESSION(r284368) [GStreamer] test imported/w3c/web-platform-tests/media-source/mediasource-video-is-visible.html fails on GTK and WPE
+ https://bugs.webkit.org/show_bug.cgi?id=234352
+
+ Reviewed by Xabier Rodriguez-Calvar.
+
+ * platform/glib/TestExpectations:
+
2021-12-21 Brent Fulgham <[email protected]>
Propagate app-initiated state to new ResourceRequests
Modified: trunk/LayoutTests/platform/glib/TestExpectations (287348 => 287349)
--- trunk/LayoutTests/platform/glib/TestExpectations 2021-12-22 06:36:13 UTC (rev 287348)
+++ trunk/LayoutTests/platform/glib/TestExpectations 2021-12-22 08:44:47 UTC (rev 287349)
@@ -804,8 +804,6 @@
webkit.org/b/234084 media/track/audio-track-configuration.html [ Failure ]
webkit.org/b/234084 media/track/video-track-configuration.html [ Failure ]
-webkit.org/b/234352 imported/w3c/web-platform-tests/media-source/mediasource-video-is-visible.html [ ImageOnlyFailure ]
-
#////////////////////////////////////////////////////////////////////////////////////////
# End of GStreamer-related bugs
#////////////////////////////////////////////////////////////////////////////////////////
Modified: trunk/Source/WebCore/ChangeLog (287348 => 287349)
--- trunk/Source/WebCore/ChangeLog 2021-12-22 06:36:13 UTC (rev 287348)
+++ trunk/Source/WebCore/ChangeLog 2021-12-22 08:44:47 UTC (rev 287349)
@@ -1,3 +1,16 @@
+2021-12-22 Philippe Normand <[email protected]>
+
+ REGRESSION(r284368) [GStreamer] test imported/w3c/web-platform-tests/media-source/mediasource-video-is-visible.html fails on GTK and WPE
+ https://bugs.webkit.org/show_bug.cgi?id=234352
+
+ Reviewed by Xabier Rodriguez-Calvar.
+
+ r284368 introduced a new behavior in the GL sink where any downstream not being a tag event
+ was triggering a flush in the media player, which was not originally intended.
+
+ * platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:
+ (webKitGLVideoSinkSetMediaPlayerPrivate):
+
2021-12-21 Brent Fulgham <[email protected]>
Propagate app-initiated state to new ResourceRequests
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp (287348 => 287349)
--- trunk/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp 2021-12-22 06:36:13 UTC (rev 287348)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp 2021-12-22 08:44:47 UTC (rev 287349)
@@ -258,7 +258,9 @@
gst_pad_add_probe(pad.get(), static_cast<GstPadProbeType>(GST_PAD_PROBE_TYPE_PUSH | GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM | GST_PAD_PROBE_TYPE_EVENT_FLUSH | GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM), [](GstPad*, GstPadProbeInfo* info, gpointer userData) -> GstPadProbeReturn {
auto* player = static_cast<MediaPlayerPrivateGStreamer*>(userData);
- if (info->type & GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM && GST_EVENT_TYPE(GST_PAD_PROBE_INFO_EVENT(info)) == GST_EVENT_TAG) {
+ if (info->type & GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) {
+ if (GST_EVENT_TYPE(GST_PAD_PROBE_INFO_EVENT(info)) != GST_EVENT_TAG)
+ return GST_PAD_PROBE_OK;
GstTagList* tagList;
gst_event_parse_tag(GST_PAD_PROBE_INFO_EVENT(info), &tagList);
player->updateVideoOrientation(tagList);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes