mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +00:00
Revert "gl: Use GstGLDisplayEGL directly instead of creating a GstGLDisplayVIVFb subclass"
This reverts commit 47fd4d391e
.
This patch is incorrect. It doesn't actually compile, and causes a crash
because the viv-fb window implementation needs a native EGL handle
to pass to fbCreateWindow, but the GstGLDisplayEGL handleis actually
an EGLDisplay now (and gets cast to the wrong type)
This commit is contained in:
parent
e16ad13ed6
commit
4359684dd2
1 changed files with 4 additions and 0 deletions
|
@ -169,7 +169,11 @@ gst_qt_get_gl_wrapcontext (GstGLDisplay * display,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if GST_GL_HAVE_PLATFORM_EGL && defined (HAVE_QT_EGLFS)
|
#if GST_GL_HAVE_PLATFORM_EGL && defined (HAVE_QT_EGLFS)
|
||||||
|
#if GST_GL_HAVE_WINDOW_VIV_FB
|
||||||
|
if (GST_IS_GL_DISPLAY_VIV_FB (display)) {
|
||||||
|
#else
|
||||||
if (GST_IS_GL_DISPLAY_EGL (display)) {
|
if (GST_IS_GL_DISPLAY_EGL (display)) {
|
||||||
|
#endif
|
||||||
platform = GST_GL_PLATFORM_EGL;
|
platform = GST_GL_PLATFORM_EGL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue