mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
mpegts: Add padding to public structures
Allows use to add API in the future without breaking ABI. We broke the API/ABI once between 1.2 and 1.4, let's try to avoid this in the future even if this is an unstable library. https://bugzilla.gnome.org/show_bug.cgi?id=730914
This commit is contained in:
parent
1d233b7516
commit
90b27a3c8b
2 changed files with 7 additions and 0 deletions
|
@ -255,6 +255,10 @@ struct _GstMpegtsDescriptor
|
|||
guint8 tag_extension;
|
||||
guint8 length;
|
||||
guint8 *data;
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future extension */
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
void gst_mpegts_descriptor_free (GstMpegtsDescriptor *desc);
|
||||
|
|
|
@ -171,6 +171,9 @@ struct _GstMpegtsSection
|
|||
* sections to that people can create private short sections ? */
|
||||
gboolean short_section;
|
||||
GstMpegtsPacketizeFunc packetizer;
|
||||
|
||||
/* Padding for future extension */
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
GBytes *gst_mpegts_section_get_data (GstMpegtsSection *section);
|
||||
|
|
Loading…
Reference in a new issue