mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +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
e2ea7843f9
commit
74ab40470c
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