video: add some padding
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 10 Sep 2012 12:00:35 +0000 (14:00 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 10 Sep 2012 12:03:49 +0000 (14:03 +0200)
... and clean up some related resolved FIXMEs

gst-libs/gst/video/gstvideodecoder.h
gst-libs/gst/video/gstvideoencoder.h
gst-libs/gst/video/video-frame.h
gst-libs/gst/video/video-info.h

index 54f4561..a41272e 100644 (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];
 };
 
index a260c6c..ca9c9cf 100644 (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];
 };
 
index f28157a..8f55fbd 100644 (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,
index ff821d8..ce0f0fe 100644 (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 */