Title: [246710] trunk/Source/WebCore
- Revision
- 246710
- Author
- [email protected]
- Date
- 2019-06-22 08:51:00 -0700 (Sat, 22 Jun 2019)
Log Message
webkitgtk 2.24.2 fails to build w/gstreamer 1.12.5
https://bugs.webkit.org/show_bug.cgi?id=198080
Patch by Mike Gorse <[email protected]> on 2019-06-22
Reviewed by Philippe Normand.
No new tests (build fix only).
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
Move includes of gst/gl/gl.h and epoxy/gl.h into
MediaPlayerPrivateGStreamerBase.h.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (246709 => 246710)
--- trunk/Source/WebCore/ChangeLog 2019-06-22 07:48:08 UTC (rev 246709)
+++ trunk/Source/WebCore/ChangeLog 2019-06-22 15:51:00 UTC (rev 246710)
@@ -1,3 +1,17 @@
+2019-06-22 Mike Gorse <[email protected]>
+
+ webkitgtk 2.24.2 fails to build w/gstreamer 1.12.5
+ https://bugs.webkit.org/show_bug.cgi?id=198080
+
+ Reviewed by Philippe Normand.
+
+ No new tests (build fix only).
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
+ Move includes of gst/gl/gl.h and epoxy/gl.h into
+ MediaPlayerPrivateGStreamerBase.h.
+
2019-06-21 Sihui Liu <[email protected]>
openDatabase should return an empty object when WebSQL is disabled
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp (246709 => 246710)
--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2019-06-22 07:48:08 UTC (rev 246709)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2019-06-22 15:51:00 UTC (rev 246710)
@@ -66,25 +66,7 @@
#include <gst/app/gstappsink.h>
-#if USE(LIBEPOXY)
-// Include the <epoxy/gl.h> header before <gst/gl/gl.h>.
-#include <epoxy/gl.h>
-// Workaround build issue with RPi userland GLESv2 headers and libepoxy <https://webkit.org/b/185639>
-#if !GST_CHECK_VERSION(1, 14, 0)
-#include <gst/gl/gstglconfig.h>
-#if defined(GST_GL_HAVE_WINDOW_DISPMANX) && GST_GL_HAVE_WINDOW_DISPMANX
-#define __gl2_h_
-#undef GST_GL_HAVE_GLSYNC
-#define GST_GL_HAVE_GLSYNC 1
-#endif
-#endif // !GST_CHECK_VERSION(1, 14, 0)
-#endif // USE(LIBEPOXY)
-
-#define GST_USE_UNSTABLE_API
-#include <gst/gl/gl.h>
-#undef GST_USE_UNSTABLE_API
-
#include "GLContext.h"
#if USE(GLX)
#include "GLContextGLX.h"
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h (246709 => 246710)
--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h 2019-06-22 07:48:08 UTC (rev 246709)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h 2019-06-22 15:51:00 UTC (rev 246710)
@@ -37,6 +37,25 @@
#include <wtf/RunLoop.h>
#include <wtf/WeakPtr.h>
+#if USE(LIBEPOXY)
+// Include the <epoxy/gl.h> header before <gst/gl/gl.h>.
+#include <epoxy/gl.h>
+
+// Workaround build issue with RPi userland GLESv2 headers and libepoxy <https://webkit.org/b/185639>
+#if !GST_CHECK_VERSION(1, 14, 0)
+#include <gst/gl/gstglconfig.h>
+#if defined(GST_GL_HAVE_WINDOW_DISPMANX) && GST_GL_HAVE_WINDOW_DISPMANX
+#define __gl2_h_
+#undef GST_GL_HAVE_GLSYNC
+#define GST_GL_HAVE_GLSYNC 1
+#endif
+#endif // !GST_CHECK_VERSION(1, 14, 0)
+#endif // USE(LIBEPOXY)
+
+#define GST_USE_UNSTABLE_API
+#include <gst/gl/gl.h>
+#undef GST_USE_UNSTABLE_API
+
#if USE(TEXTURE_MAPPER_GL)
#include "TextureMapperGL.h"
#if USE(NICOSIA)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes