summaryrefslogtreecommitdiff
path: root/ext/gl
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-02-22 21:03:14 +1100
committerMatthew Waters <matthew@centricular.com>2016-02-22 21:03:28 +1100
commit98752fde48ccc06bfb2c4ccb05e17f74a6a1d967 (patch)
tree29e1f22ba96b3dc526da5a5f1a3da0de7f51783f /ext/gl
parent2d2878125ef17f140d15a5b44359cd2929901608 (diff)
downloadgstreamer-plugins-bad-98752fde48ccc06bfb2c4ccb05e17f74a6a1d967.tar.gz
gl: fix the build
2d287812 was incomplete
Diffstat (limited to 'ext/gl')
-rw-r--r--ext/gl/gstglstereosplit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gl/gstglstereosplit.c b/ext/gl/gstglstereosplit.c
index 578622006..fc93b1ac4 100644
--- a/ext/gl/gstglstereosplit.c
+++ b/ext/gl/gstglstereosplit.c
@@ -586,7 +586,7 @@ ensure_context (GstGLStereoSplit * self)
{
GstGLAPI current_gl_api = gst_gl_context_get_gl_api (self->context);
- if ((current_gl_api & SUPPORTED_GL_APIS) == 0)
+ if ((current_gl_api & (SUPPORTED_GL_APIS)) == 0)
goto unsupported_gl_api;
}
@@ -597,7 +597,7 @@ unsupported_gl_api:
GstGLAPI gl_api = gst_gl_context_get_gl_api (self->context);
gchar *gl_api_str = gst_gl_api_to_string (gl_api);
gchar *supported_gl_api_str = gst_gl_api_to_string (SUPPORTED_GL_APIS);
- GST_ELEMENT_ERROR (mix, RESOURCE, BUSY,
+ GST_ELEMENT_ERROR (self, RESOURCE, BUSY,
("GL API's not compatible context: %s supported: %s", gl_api_str,
supported_gl_api_str), (NULL));