mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
validate: Fix padding and constants
Without this the Rust -sys validate crate tests don't pass. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1810>
This commit is contained in:
parent
8780da3ffe
commit
d07f2323fe
2 changed files with 5 additions and 3 deletions
|
@ -265,7 +265,7 @@ struct _GstValidateActionType
|
|||
GstValidateActionTypePrivate* priv;
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING_LARGE - sizeof (GstRank) - 2];
|
||||
gpointer _gst_reserved[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
|
|
|
@ -29,8 +29,10 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_VALIDATE_UNKNOWN_UINT64 (G_MAXUINT64 - 2)
|
||||
#define GST_VALIDATE_UNKNOWN_BOOL (G_MAXUINT32 - 2)
|
||||
#define GST_VALIDATE_UNKNOWN_UINT64 -1
|
||||
|
||||
#define GST_VALIDATE_UNKNOWN_BOOL -1
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* Children */
|
||||
|
|
Loading…
Reference in a new issue