dicoverer: Do not add container infos to the stream list

They are not added on actual discovery

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/398
This commit is contained in:
Thibault Saunier 2017-11-10 12:29:05 -03:00
parent 4014995d0c
commit c8eee6f0c6

View file

@ -2367,6 +2367,7 @@ _parse_discovery (GVariant * variant, GstDiscovererInfo * info)
_parse_common_stream_info (sinfo, g_variant_get_child_value (common, 0),
info);
if (!GST_IS_DISCOVERER_CONTAINER_INFO (sinfo))
info->stream_list = g_list_append (info->stream_list, sinfo);
if (!info->stream_info) {