diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-02-07 18:40:49 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-02-07 18:40:49 +0200 |
commit | 30833f6242b0480fd78a52cd8cc1169fd9b75706 (patch) | |
tree | 97b3f6bd3bccb3662bfe941673b8c9cadecaf9c7 | |
parent | 8b6706b683f2539b83017108034251ce18a53d90 (diff) |
video: Change struct padding from void* to gpointer
gobject-introspection causes inconsistent type information for the
former and we use gpointer everywhere else.
-rw-r--r-- | gst-libs/gst/video/gstvideodecoder.h | 4 | ||||
-rw-r--r-- | gst-libs/gst/video/gstvideoencoder.h | 2 | ||||
-rw-r--r-- | gst-libs/gst/video/gstvideoutils.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gst-libs/gst/video/gstvideodecoder.h b/gst-libs/gst/video/gstvideodecoder.h index b7b54b24c..877cdb878 100644 --- a/gst-libs/gst/video/gstvideodecoder.h +++ b/gst-libs/gst/video/gstvideodecoder.h @@ -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 diff --git a/gst-libs/gst/video/gstvideoencoder.h b/gst-libs/gst/video/gstvideoencoder.h index 18b1ba52f..49a017e1e 100644 --- a/gst-libs/gst/video/gstvideoencoder.h +++ b/gst-libs/gst/video/gstvideoencoder.h @@ -153,7 +153,7 @@ struct _GstVideoEncoder /*< private >*/ GstVideoEncoderPrivate *priv; - void *padding[GST_PADDING_LARGE]; + gpointer padding[GST_PADDING_LARGE]; }; /** diff --git a/gst-libs/gst/video/gstvideoutils.h b/gst-libs/gst/video/gstvideoutils.h index 94d64078c..620fc18a9 100644 --- a/gst-libs/gst/video/gstvideoutils.h +++ b/gst-libs/gst/video/gstvideoutils.h @@ -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; }; |