mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
discoverer: fix build with older glib versions
Follow-up to !7969 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7988>
This commit is contained in:
parent
835e232e8c
commit
13f2b7dd74
1 changed files with 1 additions and 1 deletions
|
@ -1528,7 +1528,7 @@ discoverer_collect (GstDiscoverer * dc)
|
|||
_ensure_info_tags (dc);
|
||||
#if !GLIB_CHECK_VERSION(2,74,0)
|
||||
/* Make sure the missing element details are NULL-terminated */
|
||||
g_ptr_array_add (info->missing_elements_details, NULL);
|
||||
g_ptr_array_add (dc->priv->current_info->missing_elements_details, NULL);
|
||||
#endif
|
||||
serialize_info_if_required (dc, dc->priv->current_info);
|
||||
if (dc->priv->async)
|
||||
|
|
Loading…
Reference in a new issue