Title: [206859] trunk/Source/WebCore
- Revision
- 206859
- Author
- [email protected]
- Date
- 2016-10-06 03:22:59 -0700 (Thu, 06 Oct 2016)
Log Message
[GStreamer] Can't play any video with GSTREAMER_GL enabled
https://bugs.webkit.org/show_bug.cgi?id=162669
Reviewed by Philippe Normand.
Make sure an EGLDisplay type is passed when creating the GstGlDisplay
for the EGL code path, instead of a native X11 display type, so
that we get a valid GstGlDisplay as a result, not a dummy one.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::ensureGstGLContext):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (206858 => 206859)
--- trunk/Source/WebCore/ChangeLog 2016-10-06 10:00:28 UTC (rev 206858)
+++ trunk/Source/WebCore/ChangeLog 2016-10-06 10:22:59 UTC (rev 206859)
@@ -1,3 +1,17 @@
+2016-10-06 Mario Sanchez Prada <[email protected]>
+
+ [GStreamer] Can't play any video with GSTREAMER_GL enabled
+ https://bugs.webkit.org/show_bug.cgi?id=162669
+
+ Reviewed by Philippe Normand.
+
+ Make sure an EGLDisplay type is passed when creating the GstGlDisplay
+ for the EGL code path, instead of a native X11 display type, so
+ that we get a valid GstGlDisplay as a result, not a dummy one.
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::ensureGstGLContext):
+
2016-10-06 Youenn Fablet <[email protected]>
[Fetch API] Forbid redirection to non-HTTP(s) URL in non-navigation mode.
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp (206858 => 206859)
--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2016-10-06 10:00:28 UTC (rev 206858)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2016-10-06 10:22:59 UTC (rev 206859)
@@ -262,13 +262,13 @@
m_glDisplay = GST_GL_DISPLAY(gst_gl_display_x11_new_with_display(downcast<PlatformDisplayX11>(sharedDisplay).native()));
#elif USE(EGL)
if (is<PlatformDisplayX11>(sharedDisplay))
- m_glDisplay = GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast<PlatformDisplayX11>(sharedDisplay).native()));
+ m_glDisplay = GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast<PlatformDisplayX11>(sharedDisplay).eglDisplay()));
#endif
#endif
#if PLATFORM(WAYLAND)
if (is<PlatformDisplayWayland>(sharedDisplay))
- m_glDisplay = GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast<PlatformDisplayWayland>(sharedDisplay).native()));
+ m_glDisplay = GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast<PlatformDisplayWayland>(sharedDisplay).eglDisplay()));
#endif
ASSERT(m_glDisplay);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes