mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
vaapipluginutil: Fix #endif for USE_X11
This commit is contained in:
parent
7dc77ebf60
commit
f91046bad3
1 changed files with 1 additions and 1 deletions
|
@ -143,10 +143,10 @@ gst_vaapi_get_display_type_from_gl (GstGLDisplayType gl_display_type,
|
||||||
#if USE_GLX
|
#if USE_GLX
|
||||||
if (gl_platform == GST_GL_PLATFORM_GLX)
|
if (gl_platform == GST_GL_PLATFORM_GLX)
|
||||||
return GST_VAAPI_DISPLAY_TYPE_GLX;
|
return GST_VAAPI_DISPLAY_TYPE_GLX;
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
return GST_VAAPI_DISPLAY_TYPE_X11;
|
return GST_VAAPI_DISPLAY_TYPE_X11;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#if USE_WAYLAND
|
#if USE_WAYLAND
|
||||||
case GST_GL_DISPLAY_TYPE_WAYLAND:{
|
case GST_GL_DISPLAY_TYPE_WAYLAND:{
|
||||||
return GST_VAAPI_DISPLAY_TYPE_WAYLAND;
|
return GST_VAAPI_DISPLAY_TYPE_WAYLAND;
|
||||||
|
|
Loading…
Reference in a new issue