dmabuf-allocator: Add missing padding in the class

This class was made subclassable, though for future growth of the code,
it's better if we have some room for add class members. Using the small
padding since this is unlikely.
This commit is contained in:
Nicolas Dufresne 2016-11-18 14:51:29 -05:00
parent d34e326425
commit a1a2a33315

View file

@ -81,11 +81,17 @@ typedef struct _GstDmaBufAllocatorClass GstDmaBufAllocatorClass;
struct _GstDmaBufAllocator struct _GstDmaBufAllocator
{ {
GstFdAllocator parent; GstFdAllocator parent;
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
}; };
struct _GstDmaBufAllocatorClass struct _GstDmaBufAllocatorClass
{ {
GstFdAllocatorClass parent_class; GstFdAllocatorClass parent_class;
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
}; };