mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
[288/906] add more debug ouputs about GLSL and mesa
This commit is contained in:
parent
0e45b730e8
commit
e141366934
1 changed files with 3 additions and 0 deletions
|
@ -441,6 +441,8 @@ gst_gl_display_thread_create_context (GstGLDisplay *display)
|
|||
GST_INFO ("GLEW_VERSION: %s", glewGetString (GLEW_VERSION));
|
||||
if (glGetString (GL_SHADING_LANGUAGE_VERSION))
|
||||
GST_INFO ("GL_SHADING_LANGUAGE_VERSION: %s", glGetString (GL_SHADING_LANGUAGE_VERSION));
|
||||
else
|
||||
GST_INFO ("Your driver does not support GLSL (OpenGL Shading Language)");
|
||||
|
||||
GST_INFO ("GL_VENDOR: %s", glGetString (GL_VENDOR));
|
||||
GST_INFO ("GL_RENDERER: %s", glGetString (GL_RENDERER));
|
||||
|
@ -763,6 +765,7 @@ gst_gl_display_thread_init_upload (GstGLDisplay *display)
|
|||
case GST_VIDEO_FORMAT_AYUV:
|
||||
//turn off the pipeline because
|
||||
//MESA only support YUY2 and UYVY
|
||||
GST_WARNING ("Your MESA version only supports YUY2 and UYVY (GLSL is required for others yuv formats");
|
||||
display->isAlive = FALSE;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue