video: Change struct padding from void* to gpointer
gobject-introspection causes inconsistent type information for the former and we use gpointer everywhere else.
This commit is contained in:
parent
8b6706b683
commit
30833f6242
@ -190,7 +190,7 @@ struct _GstVideoDecoder
|
||||
GstVideoDecoderPrivate *priv;
|
||||
|
||||
/*< private >*/
|
||||
void *padding[GST_PADDING_LARGE];
|
||||
gpointer padding[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
/**
|
||||
@ -338,7 +338,7 @@ struct _GstVideoDecoderClass
|
||||
GstMeta * meta);
|
||||
|
||||
/*< private >*/
|
||||
void *padding[GST_PADDING_LARGE-6];
|
||||
gpointer padding[GST_PADDING_LARGE-6];
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
|
@ -153,7 +153,7 @@ struct _GstVideoEncoder
|
||||
/*< private >*/
|
||||
GstVideoEncoderPrivate *priv;
|
||||
|
||||
void *padding[GST_PADDING_LARGE];
|
||||
gpointer padding[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -72,7 +72,7 @@ struct _GstVideoCodecState
|
||||
GstCaps *allocation_caps;
|
||||
|
||||
/*< private >*/
|
||||
void *padding[GST_PADDING_LARGE - 1];
|
||||
gpointer padding[GST_PADDING_LARGE - 1];
|
||||
};
|
||||
|
||||
/**
|
||||
@ -259,7 +259,7 @@ struct _GstVideoCodecFrame
|
||||
GstClockTime ts;
|
||||
GstClockTime ts2;
|
||||
} ABI;
|
||||
void *padding[GST_PADDING_LARGE];
|
||||
gpointer padding[GST_PADDING_LARGE];
|
||||
} abidata;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user