Commit 214b7b6d authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

video: add some padding

... and clean up some related resolved FIXMEs
parent 23dde756
......@@ -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];
};
......
......@@ -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];
};
......
......@@ -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,
......
......@@ -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 */
......
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