mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
[820/906] gstglwindow: if available use wayland instead dispmanx on rpi
This commit is contained in:
parent
2313cea524
commit
979633ed1f
1 changed files with 4 additions and 4 deletions
|
@ -149,14 +149,14 @@ gst_gl_window_new (GstGLDisplay * display)
|
|||
window = GST_GL_WINDOW (gst_gl_window_cocoa_new ());
|
||||
}
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_DISPMANX
|
||||
if (!window && (!user_choice || g_strstr_len (user_choice, 8, "dispmanx")))
|
||||
window = GST_GL_WINDOW (gst_gl_window_dispmanx_egl_new ());
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_WAYLAND
|
||||
if (!window && (!user_choice || g_strstr_len (user_choice, 7, "wayland")))
|
||||
window = GST_GL_WINDOW (gst_gl_window_wayland_egl_new ());
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_DISPMANX
|
||||
if (!window && (!user_choice || g_strstr_len (user_choice, 8, "dispmanx")))
|
||||
window = GST_GL_WINDOW (gst_gl_window_dispmanx_egl_new ());
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_ANDROID
|
||||
if (!window && (!user_choice || g_strstr_len (user_choice, 7, "android")))
|
||||
window = GST_GL_WINDOW (gst_gl_window_android_egl_new ());
|
||||
|
|
Loading…
Reference in a new issue