gst_private.h: increse padding in struct _GstClockEntryImpl

When compiling for 32bit ios arm, the static assert that the
GstClockEntryImpl smaller or equal to the struct _GstClockEntryImpl
triggered. (they were 12bytes off).

To fix this, the padding is increased by 12 bytes (on 32bit).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/525>
This commit is contained in:
Havard Graff 2020-06-08 22:47:56 +02:00
parent d1cd07b72b
commit 0b0a120a37

View file

@ -524,7 +524,7 @@ struct _GstClockEntryImpl
GstClockEntry entry;
GWeakRef clock;
GDestroyNotify destroy_entry;
gpointer padding[16]; /* padding for allowing e.g. systemclock
gpointer padding[19]; /* padding for allowing e.g. systemclock
* to add data in lieu of overridable
* virtual functions on the clock */
};