webrtc:ice: Add padding to structures
authorThibault Saunier <tsaunier@igalia.com>
Sun, 14 Aug 2022 21:38:24 +0000 (17:38 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 18 Aug 2022 08:34:36 +0000 (08:34 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2891>

subprojects/gst-plugins-bad/gst-libs/gst/webrtc/ice.h

index 6191179..a39c5a6 100644 (file)
@@ -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