mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
video: add some padding
... and clean up some related resolved FIXMEs
This commit is contained in:
parent
23dde756e6
commit
214b7b6d1d
4 changed files with 9 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue