mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
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:
parent
4014995d0c
commit
c8eee6f0c6
1 changed files with 2 additions and 1 deletions
|
@ -2367,7 +2367,8 @@ _parse_discovery (GVariant * variant, GstDiscovererInfo * info)
|
|||
_parse_common_stream_info (sinfo, g_variant_get_child_value (common, 0),
|
||||
info);
|
||||
|
||||
info->stream_list = g_list_append (info->stream_list, sinfo);
|
||||
if (!GST_IS_DISCOVERER_CONTAINER_INFO (sinfo))
|
||||
info->stream_list = g_list_append (info->stream_list, sinfo);
|
||||
|
||||
if (!info->stream_info) {
|
||||
info->stream_info = sinfo;
|
||||
|
|
Loading…
Reference in a new issue