mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
glviewconvert: String literals are const
gstglviewconvert.c: In function '_mangle_extensions': gstglviewconvert.c:1511:13: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] ext_str = "#extension GL_OES_EGL_image_external : require\n"; ^
This commit is contained in:
parent
316c2c3418
commit
e7b63b1397
1 changed files with 1 additions and 1 deletions
|
@ -1505,7 +1505,7 @@ _mangle_sampler_type (const gchar * str, GstGLTextureTarget from,
|
|||
static gchar *
|
||||
_mangle_extensions (const gchar * str, GstGLTextureTarget from)
|
||||
{
|
||||
gchar *ext_str = NULL;
|
||||
const gchar *ext_str = NULL;
|
||||
|
||||
if (from == GST_GL_TEXTURE_TARGET_EXTERNAL_OES)
|
||||
ext_str = "#extension GL_OES_EGL_image_external : require\n";
|
||||
|
|
Loading…
Reference in a new issue