gl: Make sure that GST_GLSL_PROFILE_ANY gets the correct value in introspection

Currently in Python it would become a signed 64 bit value but should
actually be an unsigned 32 bit value with all bits set.

This is the same problem as with GST_MESSAGE_TYPE_ANY.

See https://bugzilla.gnome.org/show_bug.cgi?id=732633
This commit is contained in:
Sebastian Dröge 2018-11-11 08:52:27 +02:00 committed by Matthew Waters
parent 989f53383b
commit d05d52e0ad

View file

@ -110,6 +110,9 @@ typedef enum
*
* Since: 1.8
*/
/* FIXME: For GST_GLSL_PROFILE_ANY ~0 -> 0xffffffff see
* https://bugzilla.gnome.org/show_bug.cgi?id=732633
*/
typedef enum
{
/* XXX: maybe make GstGLAPI instead */
@ -119,7 +122,7 @@ typedef enum
GST_GLSL_PROFILE_CORE = (1 << 1),
GST_GLSL_PROFILE_COMPATIBILITY = (1 << 2),
GST_GLSL_PROFILE_ANY = -1,
GST_GLSL_PROFILE_ANY = (gint) (0xffffffff),
} GstGLSLProfile;
GST_GL_API