From ff0d73be5703e5d893a8a70f92d35df68960d8e2 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sun, 14 Aug 2022 17:38:24 -0400 Subject: [PATCH] webrtc:ice: Add padding to structures Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h index 6191179..a39c5a6 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h @@ -41,6 +41,8 @@ struct _GstWebRTCICE GstWebRTCICEConnectionState ice_connection_state; guint min_rtp_port; guint max_rtp_port; + + gpointer _gst_reserved[GST_PADDING]; }; struct _GstWebRTCICECandidateStats @@ -53,6 +55,8 @@ struct _GstWebRTCICECandidateStats const gchar *relay_proto; guint prio; gchar *url; + + gpointer _gst_reserved[GST_PADDING_LARGE]; }; /** @@ -61,7 +65,7 @@ struct _GstWebRTCICECandidateStats * @stream_id: The stream id * @candidate: The discovered candidate * @user_data: User data that was set by #gst_webrtc_ice_set_on_ice_candidate - * + * * Callback function to be triggered on discovery of a new candidate * Since: 1.22 */ @@ -115,6 +119,7 @@ struct _GstWebRTCICEClass { GstWebRTCICEStream * stream, GstWebRTCICECandidateStats ** local_stats, GstWebRTCICECandidateStats ** remote_stats); + gpointer _gst_reserved[GST_PADDING]; }; GST_WEBRTC_API -- 2.7.4