mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
gl/window: fix string length check for eagl
This commit is contained in:
parent
320ceef471
commit
6a2f2088e9
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ gst_gl_window_new (GstGLDisplay * display)
|
||||||
window = GST_GL_WINDOW (gst_gl_window_android_egl_new ());
|
window = GST_GL_WINDOW (gst_gl_window_android_egl_new ());
|
||||||
#endif
|
#endif
|
||||||
#if GST_GL_HAVE_WINDOW_EAGL
|
#if GST_GL_HAVE_WINDOW_EAGL
|
||||||
if (!window && (!user_choice || g_strstr_len (user_choice, 7, "eagl")))
|
if (!window && (!user_choice || g_strstr_len (user_choice, 4, "eagl")))
|
||||||
window = GST_GL_WINDOW (gst_gl_window_eagl_new ());
|
window = GST_GL_WINDOW (gst_gl_window_eagl_new ());
|
||||||
#endif
|
#endif
|
||||||
if (!window) {
|
if (!window) {
|
||||||
|
|
Loading…
Reference in a new issue