From 13f2b7dd74ce604f9e8d5dd39ad98e4ba955e672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 Nov 2024 19:11:23 +0000 Subject: [PATCH] discoverer: fix build with older glib versions Follow-up to !7969 Part-of: --- .../gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer.c b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer.c index fe3f2f8e68..a03d9903a4 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer.c @@ -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)