diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2015-09-28 16:19:40 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-09-28 16:23:41 +0200 |
commit | d4f81fb4e62d34a4c1dabc65b23ede7ce7694c63 (patch) | |
tree | 6d2e221c808f1307d63413c0c66af68c9aa4d5c1 | |
parent | d5ded1588920c4471eefe055d09095d9e5e989b5 (diff) |
controller: add the missing abi padding
While this technically is an abi break, we decided to do this:
1) the struct is documented to be internal
2) the struct is alloced and freed inside the library
3) there are no public methods that receive or return instances
4) the only code known to use this struct are classes containd here
-rw-r--r-- | libs/gst/controller/gsttimedvaluecontrolsource.h | 4 | ||||
-rw-r--r-- | tests/check/libs/struct_arm.h | 2 | ||||
-rw-r--r-- | tests/check/libs/struct_hppa.h | 2 | ||||
-rw-r--r-- | tests/check/libs/struct_i386.h | 2 | ||||
-rw-r--r-- | tests/check/libs/struct_ppc32.h | 2 | ||||
-rw-r--r-- | tests/check/libs/struct_ppc64.h | 2 | ||||
-rw-r--r-- | tests/check/libs/struct_sparc.h | 2 | ||||
-rw-r--r-- | tests/check/libs/struct_x86_64.h | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/libs/gst/controller/gsttimedvaluecontrolsource.h b/libs/gst/controller/gsttimedvaluecontrolsource.h index 7bc901e9e..d161ecbf8 100644 --- a/libs/gst/controller/gsttimedvaluecontrolsource.h +++ b/libs/gst/controller/gsttimedvaluecontrolsource.h @@ -55,7 +55,7 @@ typedef struct _GstControlPoint GstControlPoint; * @timestamp: timestamp of the value change * @value: the new value * - * a internal structure for value+time and various temporary + * An internal structure for value+time and various temporary * values used for interpolation. This "inherits" from * GstTimedValue. */ @@ -77,8 +77,8 @@ struct _GstControlPoint struct { gdouble c1s, c2s, c3s; } cubic_mono; + gpointer _gst_reserved[GST_PADDING]; } cache; - }; GType gst_control_point_get_type (void); diff --git a/tests/check/libs/struct_arm.h b/tests/check/libs/struct_arm.h index 8c99bf243..ecb0f5894 100644 --- a/tests/check/libs/struct_arm.h +++ b/tests/check/libs/struct_arm.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 152}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 124}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 120}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 124}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 128}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 140}, diff --git a/tests/check/libs/struct_hppa.h b/tests/check/libs/struct_hppa.h index 484298eb1..1915e4fc8 100644 --- a/tests/check/libs/struct_hppa.h +++ b/tests/check/libs/struct_hppa.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, diff --git a/tests/check/libs/struct_i386.h b/tests/check/libs/struct_i386.h index 3f1e93866..8cf7343ba 100644 --- a/tests/check/libs/struct_i386.h +++ b/tests/check/libs/struct_i386.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 140}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 124}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 108}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 124}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 120}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 140}, diff --git a/tests/check/libs/struct_ppc32.h b/tests/check/libs/struct_ppc32.h index 8c99bf243..ecb0f5894 100644 --- a/tests/check/libs/struct_ppc32.h +++ b/tests/check/libs/struct_ppc32.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 152}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 124}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 120}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 124}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 128}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 140}, diff --git a/tests/check/libs/struct_ppc64.h b/tests/check/libs/struct_ppc64.h index 484298eb1..1915e4fc8 100644 --- a/tests/check/libs/struct_ppc64.h +++ b/tests/check/libs/struct_ppc64.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, diff --git a/tests/check/libs/struct_sparc.h b/tests/check/libs/struct_sparc.h index 484298eb1..1915e4fc8 100644 --- a/tests/check/libs/struct_sparc.h +++ b/tests/check/libs/struct_sparc.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, diff --git a/tests/check/libs/struct_x86_64.h b/tests/check/libs/struct_x86_64.h index 484298eb1..1915e4fc8 100644 --- a/tests/check/libs/struct_x86_64.h +++ b/tests/check/libs/struct_x86_64.h @@ -22,7 +22,7 @@ GstCheckABIStruct list[] = { {"GstInterpolationControlSource", sizeof (GstInterpolationControlSource), 240}, {"GstLFOControlSourceClass", sizeof (GstLFOControlSourceClass), 248}, {"GstLFOControlSource", sizeof (GstLFOControlSource), 184}, - {"GstControlPoint", sizeof (GstControlPoint), 32}, + {"GstControlPoint", sizeof (GstControlPoint), 48}, {"GstTimedValueControlSourceClass", sizeof (GstTimedValueControlSourceClass), 248}, {"GstTimedValueControlSource", sizeof (GstTimedValueControlSource), 200}, {"GstTriggerControlSourceClass", sizeof (GstTriggerControlSourceClass), 280}, |