mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
gst_private.h: increse padding in struct _GstClockEntryImpl
When compiling for 32bit architectures with 64bit time_t e.g. riscv32, 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 8 bytes (on 32bit). Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/695>
This commit is contained in:
parent
b39a06065a
commit
12937488ae
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ struct _GstClockEntryImpl
|
||||||
GstClockEntry entry;
|
GstClockEntry entry;
|
||||||
GWeakRef clock;
|
GWeakRef clock;
|
||||||
GDestroyNotify destroy_entry;
|
GDestroyNotify destroy_entry;
|
||||||
gpointer padding[19]; /* padding for allowing e.g. systemclock
|
gpointer padding[21]; /* padding for allowing e.g. systemclock
|
||||||
* to add data in lieu of overridable
|
* to add data in lieu of overridable
|
||||||
* virtual functions on the clock */
|
* virtual functions on the clock */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue