summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstglwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/gl/gstglwindow.c')
-rw-r--r--gst-libs/gst/gl/gstglwindow.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglwindow.c b/gst-libs/gst/gl/gstglwindow.c
index b2fd04496..c1dae2d17 100644
--- a/gst-libs/gst/gl/gstglwindow.c
+++ b/gst-libs/gst/gl/gstglwindow.c
@@ -58,6 +58,9 @@
#if GST_GL_HAVE_WINDOW_EAGL
#include "eagl/gstglwindow_eagl.h"
#endif
+#if GST_GL_HAVE_WINDOW_VIV_FB
+#include "viv-fb/gstglwindow_viv_fb_egl.h"
+#endif
#if GST_GL_HAVE_WINDOW_DISPMANX
#include "dispmanx/gstglwindow_dispmanx_egl.h"
#endif
@@ -271,6 +274,11 @@ gst_gl_window_new (GstGLDisplay * display)
if (!window && (!user_choice || g_strstr_len (user_choice, 4, "eagl")))
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")))
+ window = GST_GL_WINDOW (gst_gl_window_viv_fb_egl_new (display));
+#endif
+
if (!window) {
/* subclass returned a NULL window */
GST_WARNING ("Could not create window. user specified %s, creating dummy"