Title: [258755] trunk/Source/WebCore
- Revision
- 258755
- Author
- commit-qu...@webkit.org
- Date
- 2020-03-20 02:15:53 -0700 (Fri, 20 Mar 2020)
Log Message
Fix build with gstreamer 1.12
https://bugs.webkit.org/show_bug.cgi?id=209296
Patch by Mike Gorse <mgo...@suse.com> on 2020-03-20
Reviewed by Philippe Normand.
No new tests (build fix only).
* platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:
(webKitGLVideoSinkChangeState): Add GST_VERSION_CHECK around check for
GST_STATE_CHANGE_READY_TO_READY.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (258754 => 258755)
--- trunk/Source/WebCore/ChangeLog 2020-03-20 09:01:04 UTC (rev 258754)
+++ trunk/Source/WebCore/ChangeLog 2020-03-20 09:15:53 UTC (rev 258755)
@@ -1,3 +1,16 @@
+2020-03-20 Mike Gorse <mgo...@suse.com>
+
+ Fix build with gstreamer 1.12
+ https://bugs.webkit.org/show_bug.cgi?id=209296
+
+ Reviewed by Philippe Normand.
+
+ No new tests (build fix only).
+
+ * platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:
+ (webKitGLVideoSinkChangeState): Add GST_VERSION_CHECK around check for
+ GST_STATE_CHANGE_READY_TO_READY.
+
2020-03-20 Philippe Normand <pnorm...@igalia.com>
[Unix] Allow runtime release logging levels configuration
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp (258754 => 258755)
--- trunk/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp 2020-03-20 09:01:04 UTC (rev 258754)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp 2020-03-20 09:15:53 UTC (rev 258755)
@@ -155,7 +155,9 @@
switch (transition) {
case GST_STATE_CHANGE_NULL_TO_READY:
+#if GST_CHECK_VERSION(1, 14, 0)
case GST_STATE_CHANGE_READY_TO_READY:
+#endif
case GST_STATE_CHANGE_READY_TO_PAUSED: {
if (!priv->glDisplayElementContext)
priv->glDisplayElementContext = requestGLContext(GST_GL_DISPLAY_CONTEXT_TYPE);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes