projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98d188
)
[291/906] Add check for GLEW_EXT_framebuffer_object
author
David Schleef
<ds@schleef.org>
Sat, 10 Jan 2009 01:20:25 +0000
(17:20 -0800)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:20 +0000
(19:31 +0000)
gst-libs/gst/gl/gstgldisplay.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstgldisplay.c
b/gst-libs/gst/gl/gstgldisplay.c
index
2ead626
..
e445f49
100644
(file)
--- a/
gst-libs/gst/gl/gstgldisplay.c
+++ b/
gst-libs/gst/gl/gstgldisplay.c
@@
-1128,6
+1128,13
@@
gst_gl_display_thread_gen_fbo (GstGLDisplay *display)
//-- generate frame buffer object
+ if (!GLEW_EXT_framebuffer_object) {
+ //turn off the pipeline because Frame buffer object is a not present
+ GST_WARNING ("Context, EXT_framebuffer_object supported: no");
+ display->isAlive = FALSE;
+ return;
+ }
+
//setup FBO
glGenFramebuffersEXT (1, &display->generated_fbo);
glBindFramebufferEXT (GL_FRAMEBUFFER_EXT, display->generated_fbo);