From: Jonathan Matthew Date: Sat, 3 Sep 2016 01:57:22 +0000 (+1000) Subject: pbutils: store missing-plugin structure in current_info->misc again X-Git-Tag: 1.19.3~511^2~2684 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b8aa8cf7ed20e28902ee66d03ce6e14596a76b4;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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) {