projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
030c8ed
)
[759/906] gldownload: #ifdef some GLES2 specific code to fix compilation
author
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 15 Jul 2013 19:44:20 +0000
(21:44 +0200)
committer
Matthew Waters
<ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:59 +0000
(18:36 +0100)
gst-libs/gst/gl/gstgldownload.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstgldownload.c
b/gst-libs/gst/gl/gstgldownload.c
index
513ac52
..
c470099
100644
(file)
--- a/
gst-libs/gst/gl/gstgldownload.c
+++ b/
gst-libs/gst/gl/gstgldownload.c
@@
-969,6
+969,7
@@
_init_download_shader (GstGLDisplay * display, GstGLDownload * download)
case GST_VIDEO_FORMAT_ABGR:
case GST_VIDEO_FORMAT_RGB:
case GST_VIDEO_FORMAT_BGR:
+#if GST_GL_HAVE_GLES2
{
gchar text_shader_ARGB[2048];
@@
-1002,6
+1003,10
@@
_init_download_shader (GstGLDisplay * display, GstGLDownload * download)
}
break;
}
+#else
+ g_assert_not_reached ();
+ break;
+#endif
default:
gst_gl_display_set_error (display,
"Unsupported download video format %d", v_format);