Commit 96ac9abb authored by Khem Raj's avatar Khem Raj

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: <gstreamer/gstreamer!694>
parent e74040b4
Pipeline #223440 passed with stages
in 47 minutes and 1 second
......@@ -523,7 +523,7 @@ struct _GstClockEntryImpl
GstClockEntry entry;
GWeakRef clock;
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
* virtual functions on the clock */
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment