diff --git a/ext/qt/gstqtglutility.cc b/ext/qt/gstqtglutility.cc index ff8d875922..84794e4ee2 100644 --- a/ext/qt/gstqtglutility.cc +++ b/ext/qt/gstqtglutility.cc @@ -169,11 +169,7 @@ gst_qt_get_gl_wrapcontext (GstGLDisplay * display, } #endif #if GST_GL_HAVE_PLATFORM_EGL && defined (HAVE_QT_EGLFS) -#if GST_GL_HAVE_WINDOW_VIV_FB - if (GST_IS_GL_DISPLAY_VIV_FB (display)) { -#else if (GST_IS_GL_DISPLAY_EGL (display)) { -#endif platform = GST_GL_PLATFORM_EGL; } #endif