Commit d05d52e0 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Matthew Waters

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
parent 989f5338
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment