mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
d34e326425
commit
a1a2a33315
1 changed files with 6 additions and 0 deletions
|
@ -81,11 +81,17 @@ typedef struct _GstDmaBufAllocatorClass GstDmaBufAllocatorClass;
|
|||
struct _GstDmaBufAllocator
|
||||
{
|
||||
GstFdAllocator parent;
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
struct _GstDmaBufAllocatorClass
|
||||
{
|
||||
GstFdAllocatorClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue