projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4014995
)
dicoverer: Do not add container infos to the stream list
author
Thibault Saunier
<tsaunier@gnome.org>
Fri, 10 Nov 2017 15:29:05 +0000
(12:29 -0300)
committer
Thibault Saunier
<tsaunier@gnome.org>
Thu, 7 Mar 2019 20:59:29 +0000
(20:59 +0000)
They are not added on actual discovery
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/398
gst-libs/gst/pbutils/gstdiscoverer.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/pbutils/gstdiscoverer.c
b/gst-libs/gst/pbutils/gstdiscoverer.c
index 7003a2a7151ebffe8729b4273c25214bf5fa2a65..1bf5b8d6c58bd9bd941d2d864936936a75a91614 100644
(file)
--- a/
gst-libs/gst/pbutils/gstdiscoverer.c
+++ b/
gst-libs/gst/pbutils/gstdiscoverer.c
@@
-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;