From 7b8aa8cf7ed20e28902ee66d03ce6e14596a76b4 Mon Sep 17 00:00:00 2001 From: Jonathan Matthew Date: Sat, 3 Sep 2016 11:57:22 +1000 Subject: [PATCH] pbutils: store missing-plugin structure in current_info->misc again This allows gst_discoverer_info_get_misc to work again, until it finally gets removed. https://bugzilla.gnome.org/show_bug.cgi?id=770643 --- gst-libs/gst/pbutils/gstdiscoverer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index 45de5f5..d155323 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -1388,6 +1388,7 @@ handle_message (GstDiscoverer * dc, GstMessage * msg) */ if (dc->priv->current_info->misc) gst_structure_free (dc->priv->current_info->misc); + dc->priv->current_info->misc = gst_structure_copy (structure); g_ptr_array_add (dc->priv->current_info->missing_elements_details, gst_missing_plugin_message_get_installer_detail (msg)); } else if (sttype == _STREAM_TOPOLOGY_QUARK) { -- 2.7.4