mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
gl/viv-fb: Fix user-choice string comparisons
https://bugzilla.gnome.org/show_bug.cgi?id=782921
This commit is contained in:
parent
f191bf0c11
commit
d6e46b905a
2 changed files with 2 additions and 2 deletions
|
@ -301,7 +301,7 @@ gst_gl_display_new (void)
|
|||
display = GST_GL_DISPLAY (gst_gl_display_wayland_new (NULL));
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_VIV_FB
|
||||
if (!display && (!user_choice || g_strstr_len (user_choice, 2, "viv-fb"))) {
|
||||
if (!display && (!user_choice || g_strstr_len (user_choice, 6, "viv-fb"))) {
|
||||
const gchar *disp_idx_str = NULL;
|
||||
gint disp_idx = 0;
|
||||
disp_idx_str = g_getenv ("GST_GL_VIV_FB");
|
||||
|
|
|
@ -275,7 +275,7 @@ gst_gl_window_new (GstGLDisplay * display)
|
|||
window = GST_GL_WINDOW (gst_gl_window_eagl_new (display));
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_VIV_FB
|
||||
if (!window && (!user_choice || g_strstr_len (user_choice, 2, "viv-fb")))
|
||||
if (!window && (!user_choice || g_strstr_len (user_choice, 6, "viv-fb")))
|
||||
window = GST_GL_WINDOW (gst_gl_window_viv_fb_egl_new (display));
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue