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
This commit is contained in:
Jonathan Matthew 2016-09-03 11:57:22 +10:00 committed by Tim-Philipp Müller
parent c90f18994c
commit 7b8aa8cf7e

View file

@ -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) {