[820/906] gstglwindow: if available use wayland instead dispmanx on rpi
authorJulien Isorce <julien.isorce@collabora.co.uk>
Tue, 1 Oct 2013 11:27:07 +0000 (11:27 +0000)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:37:02 +0000 (18:37 +0100)
gst-libs/gst/gl/gstglwindow.c

index d4f57a5..8d64e78 100644 (file)
@@ -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 ());