mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
mssdemux2: Don't expose/use streams we can't handle yet
Avoids issues further down Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2319>
This commit is contained in:
parent
2ec79418df
commit
7c9eb0335f
1 changed files with 5 additions and 0 deletions
|
@ -375,6 +375,11 @@ gst_mss_demux_setup_streams (GstAdaptiveDemux * demux)
|
|||
GstCaps *caps;
|
||||
GstTagList *tags = NULL;
|
||||
|
||||
if (stream_type == GST_STREAM_TYPE_UNKNOWN) {
|
||||
GST_WARNING_OBJECT (mssdemux, "Skipping unknown stream %s", name);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (name)
|
||||
stream_id =
|
||||
g_strdup_printf ("mss-stream-%s-%s",
|
||||
|
|
Loading…
Reference in a new issue