mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
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:
parent
989f53383b
commit
d05d52e0ad
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue