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:
53213d9
)
gloverlay: And fix another unused variable compiler warning
author
Vivia Nikolaidou
<n.vivia@gmail.com>
Wed, 8 Oct 2014 18:51:12 +0000
(21:51 +0300)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:48 +0000
(19:31 +0000)
ext/gl/gstgloverlay.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstgloverlay.c
b/ext/gl/gstgloverlay.c
index
65ceb2b
..
f403cf1
100644
(file)
--- a/
ext/gl/gstgloverlay.c
+++ b/
ext/gl/gstgloverlay.c
@@
-445,11
+445,11
@@
static void
gst_gl_overlay_callback (gint width, gint height, guint texture, gpointer stuff)
{
GstGLOverlay *overlay = GST_GL_OVERLAY (stuff);
- GstGLFilter *filter = GST_GL_FILTER (overlay);
GstMapInfo map_info;
guint image_tex;
-
#if GST_GL_HAVE_OPENGL
+ GstGLFilter *filter = GST_GL_FILTER (overlay);
+
if (gst_gl_context_get_gl_api (filter->context) & GST_GL_API_OPENGL) {
const GstGLFuncs *gl = filter->context->gl_vtable;