video: add some padding

... and clean up some related resolved FIXMEs
This commit is contained in:
Mark Nauwelaerts 2012-09-10 14:00:35 +02:00
parent 23dde756e6
commit 214b7b6d1d
4 changed files with 9 additions and 4 deletions

View file

@ -187,7 +187,7 @@ struct _GstVideoDecoder
GstVideoDecoderPrivate *priv;
/* FIXME before moving to base */
/*< private >*/
void *padding[GST_PADDING_LARGE];
};
@ -280,7 +280,6 @@ struct _GstVideoDecoderClass
gboolean (*propose_allocation) (GstVideoDecoder *decoder, GstQuery * query);
/*< private >*/
/* FIXME before moving to base */
void *padding[GST_PADDING_LARGE];
};

View file

@ -145,8 +145,9 @@ struct _GstVideoEncoder
GstSegment input_segment;
GstSegment output_segment;
/*< private >*/
GstVideoEncoderPrivate *priv;
/* FIXME before moving to base */
void *padding[GST_PADDING_LARGE];
};
@ -250,7 +251,6 @@ struct _GstVideoEncoderClass
GstQuery * query);
/*< private >*/
/* FIXME before moving to base */
gpointer _gst_reserved[GST_PADDING_LARGE];
};

View file

@ -71,6 +71,9 @@ struct _GstVideoFrame {
gpointer data[GST_VIDEO_MAX_PLANES];
GstMapInfo map[GST_VIDEO_MAX_PLANES];
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
gboolean gst_video_frame_map (GstVideoFrame *frame, GstVideoInfo *info,

View file

@ -116,6 +116,9 @@ struct _GstVideoInfo {
gsize offset[GST_VIDEO_MAX_PLANES];
gint stride[GST_VIDEO_MAX_PLANES];
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
/* general info */