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
@ -375,6 +375,11 @@ gst_mss_demux_setup_streams (GstAdaptiveDemux * demux)
|
|||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstTagList *tags = NULL;
|
GstTagList *tags = NULL;
|
||||||
|
|
||||||
|
if (stream_type == GST_STREAM_TYPE_UNKNOWN) {
|
||||||
|
GST_WARNING_OBJECT (mssdemux, "Skipping unknown stream %s", name);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (name)
|
if (name)
|
||||||
stream_id =
|
stream_id =
|
||||||
g_strdup_printf ("mss-stream-%s-%s",
|
g_strdup_printf ("mss-stream-%s-%s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user