mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
gl: Use GstGLDisplayEGL directly instead of creating a GstGLDisplayVIVFb subclass
This simplifies the code a lot without any functional changes apart from not closing the display connection. Closing the display connection is not safe to do as it is shared between all other code in the same process and no reference counting or anything happens at the platform layer.
This commit is contained in:
parent
a0d526a2a8
commit
43827a05f9
1 changed files with 0 additions and 4 deletions
|
@ -169,11 +169,7 @@ gst_qt_get_gl_wrapcontext (GstGLDisplay * display,
|
|||
}
|
||||
#endif
|
||||
#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)) {
|
||||
#endif
|
||||
platform = GST_GL_PLATFORM_EGL;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue