From: Mark Nauwelaerts Date: Mon, 10 Sep 2012 12:00:35 +0000 (+0200) Subject: video: add some padding X-Git-Tag: 1.19.3~511^2~5912 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=214b7b6d1dbddb792d47e27f44fc5faecb550e9f;p=platform%2Fupstream%2Fgstreamer.git video: add some padding ... and clean up some related resolved FIXMEs --- diff --git a/gst-libs/gst/video/gstvideodecoder.h b/gst-libs/gst/video/gstvideodecoder.h index 54f4561..a41272e 100644 --- a/gst-libs/gst/video/gstvideodecoder.h +++ b/gst-libs/gst/video/gstvideodecoder.h @@ -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]; }; diff --git a/gst-libs/gst/video/gstvideoencoder.h b/gst-libs/gst/video/gstvideoencoder.h index a260c6c..ca9c9cf 100644 --- a/gst-libs/gst/video/gstvideoencoder.h +++ b/gst-libs/gst/video/gstvideoencoder.h @@ -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]; }; diff --git a/gst-libs/gst/video/video-frame.h b/gst-libs/gst/video/video-frame.h index f28157a..8f55fbd 100644 --- a/gst-libs/gst/video/video-frame.h +++ b/gst-libs/gst/video/video-frame.h @@ -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, diff --git a/gst-libs/gst/video/video-info.h b/gst-libs/gst/video/video-info.h index ff821d8..ce0f0fe 100644 --- a/gst-libs/gst/video/video-info.h +++ b/gst-libs/gst/video/video-info.h @@ -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 */