mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gloverlay: And fix another unused variable compiler warning
This commit is contained in:
parent
b8d64301af
commit
7872359239
1 changed files with 2 additions and 2 deletions
|
@ -445,11 +445,11 @@ static void
|
||||||
gst_gl_overlay_callback (gint width, gint height, guint texture, gpointer stuff)
|
gst_gl_overlay_callback (gint width, gint height, guint texture, gpointer stuff)
|
||||||
{
|
{
|
||||||
GstGLOverlay *overlay = GST_GL_OVERLAY (stuff);
|
GstGLOverlay *overlay = GST_GL_OVERLAY (stuff);
|
||||||
GstGLFilter *filter = GST_GL_FILTER (overlay);
|
|
||||||
GstMapInfo map_info;
|
GstMapInfo map_info;
|
||||||
guint image_tex;
|
guint image_tex;
|
||||||
|
|
||||||
#if GST_GL_HAVE_OPENGL
|
#if GST_GL_HAVE_OPENGL
|
||||||
|
GstGLFilter *filter = GST_GL_FILTER (overlay);
|
||||||
|
|
||||||
if (gst_gl_context_get_gl_api (filter->context) & GST_GL_API_OPENGL) {
|
if (gst_gl_context_get_gl_api (filter->context) & GST_GL_API_OPENGL) {
|
||||||
const GstGLFuncs *gl = filter->context->gl_vtable;
|
const GstGLFuncs *gl = filter->context->gl_vtable;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue