Commit 30833f62 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

video: Change struct padding from void* to gpointer

gobject-introspection causes inconsistent type information for the
former and we use gpointer everywhere else.
parent 8b6706b6
...@@ -190,7 +190,7 @@ struct _GstVideoDecoder ...@@ -190,7 +190,7 @@ struct _GstVideoDecoder
GstVideoDecoderPrivate *priv; GstVideoDecoderPrivate *priv;
/*< private >*/ /*< private >*/
void *padding[GST_PADDING_LARGE]; gpointer padding[GST_PADDING_LARGE];
}; };
/** /**
...@@ -338,7 +338,7 @@ struct _GstVideoDecoderClass ...@@ -338,7 +338,7 @@ struct _GstVideoDecoderClass
GstMeta * meta); GstMeta * meta);
/*< private >*/ /*< private >*/
void *padding[GST_PADDING_LARGE-6]; gpointer padding[GST_PADDING_LARGE-6];
}; };
GST_EXPORT GST_EXPORT
......
...@@ -153,7 +153,7 @@ struct _GstVideoEncoder ...@@ -153,7 +153,7 @@ struct _GstVideoEncoder
/*< private >*/ /*< private >*/
GstVideoEncoderPrivate *priv; GstVideoEncoderPrivate *priv;
void *padding[GST_PADDING_LARGE]; gpointer padding[GST_PADDING_LARGE];
}; };
/** /**
......
...@@ -72,7 +72,7 @@ struct _GstVideoCodecState ...@@ -72,7 +72,7 @@ struct _GstVideoCodecState
GstCaps *allocation_caps; GstCaps *allocation_caps;
/*< private >*/ /*< private >*/
void *padding[GST_PADDING_LARGE - 1]; gpointer padding[GST_PADDING_LARGE - 1];
}; };
/** /**
...@@ -259,7 +259,7 @@ struct _GstVideoCodecFrame ...@@ -259,7 +259,7 @@ struct _GstVideoCodecFrame
GstClockTime ts; GstClockTime ts;
GstClockTime ts2; GstClockTime ts2;
} ABI; } ABI;
void *padding[GST_PADDING_LARGE]; gpointer padding[GST_PADDING_LARGE];
} abidata; } abidata;
}; };
......
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