mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
gl: fix "winrt" string comparison in gst_gl_display_type_from_environment
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5511>
This commit is contained in:
parent
e79b308f82
commit
34694bbfcf
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ gst_gl_display_type_from_environment (void)
|
|||
return GST_GL_DISPLAY_TYPE_EAGL;
|
||||
} else if (g_strstr_len (env, 7, "android")) {
|
||||
return GST_GL_DISPLAY_TYPE_EGL;
|
||||
} else if (g_strstr_len (env, 4, "winrt")) {
|
||||
} else if (g_strstr_len (env, 5, "winrt")) {
|
||||
return GST_GL_DISPLAY_TYPE_EGL;
|
||||
} else {
|
||||
return GST_GL_DISPLAY_TYPE_NONE;
|
||||
|
|
Loading…
Reference in a new issue