mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
[759/906] gldownload: #ifdef some GLES2 specific code to fix compilation
This commit is contained in:
parent
030c8ed624
commit
1a6b357b39
1 changed files with 5 additions and 0 deletions
|
@ -969,6 +969,7 @@ _init_download_shader (GstGLDisplay * display, GstGLDownload * download)
|
||||||
case GST_VIDEO_FORMAT_ABGR:
|
case GST_VIDEO_FORMAT_ABGR:
|
||||||
case GST_VIDEO_FORMAT_RGB:
|
case GST_VIDEO_FORMAT_RGB:
|
||||||
case GST_VIDEO_FORMAT_BGR:
|
case GST_VIDEO_FORMAT_BGR:
|
||||||
|
#if GST_GL_HAVE_GLES2
|
||||||
{
|
{
|
||||||
gchar text_shader_ARGB[2048];
|
gchar text_shader_ARGB[2048];
|
||||||
|
|
||||||
|
@ -1002,6 +1003,10 @@ _init_download_shader (GstGLDisplay * display, GstGLDownload * download)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
g_assert_not_reached ();
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
gst_gl_display_set_error (display,
|
gst_gl_display_set_error (display,
|
||||||
"Unsupported download video format %d", v_format);
|
"Unsupported download video format %d", v_format);
|
||||||
|
|
Loading…
Reference in a new issue