diff --git a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer-types.c b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer-types.c index 55172388eb..46b6ee3b51 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer-types.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/gstdiscoverer-types.c @@ -455,6 +455,14 @@ gst_discoverer_info_copy (GstDiscovererInfo * ptr) if (ptr->toc) ret->toc = gst_toc_ref (ptr->toc); + if (ptr->missing_elements_details->len > 0) { + guint i; + + for (i = 0; i < ptr->missing_elements_details->len; i++) + g_ptr_array_add (ret->missing_elements_details, + g_strdup (ptr->missing_elements_details->pdata[i])); + } + g_hash_table_destroy (stream_map); return ret; }