taglist: add _gst_tag_list_structure() as internal API
Will be needed to implement hash on GValue. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8518>
This commit is contained in:
parent
76e9e4ceb6
commit
bde69a4fab
@ -533,5 +533,8 @@ void priv_gst_clock_init (void);
|
||||
GstClockTime priv_gst_get_monotonic_time (void);
|
||||
GstClockTime priv_gst_get_real_time (void);
|
||||
|
||||
/* Needed for hashing in gstvalue.c */
|
||||
G_GNUC_INTERNAL const GstStructure * _gst_tag_list_structure (const GstTagList * list);
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* __GST_PRIVATE_H__ */
|
||||
|
@ -2185,3 +2185,9 @@ gst_tag_list_take (GstTagList ** old_taglist, GstTagList * new_taglist)
|
||||
return gst_mini_object_take ((GstMiniObject **) old_taglist,
|
||||
(GstMiniObject *) new_taglist);
|
||||
}
|
||||
|
||||
const GstStructure *
|
||||
_gst_tag_list_structure (const GstTagList * list)
|
||||
{
|
||||
return GST_TAG_LIST_STRUCTURE (list);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user