diff options
author | Jonathan Matthew <jonathan@d14n.org> | 2016-09-03 11:57:22 +1000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-09-04 16:59:59 +0100 |
commit | 35caaf54ec666884612b7817598cacf928999e81 (patch) | |
tree | 5354f7519986a3a34291580a0743f74a51430599 | |
parent | c5ddadd472521127bdb810fd4ebb5e3e35f10951 (diff) | |
download | gstreamer-plugins-base-35caaf54ec666884612b7817598cacf928999e81.tar.gz |
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
-rw-r--r-- | gst-libs/gst/pbutils/gstdiscoverer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index 45de5f599..d155323fd 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) { |