mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
urisourcebin: Only allow streams-aware adaptive demuxer
We no longer want to deal with elements that use the old-style of stream switching and instead expose/remove streams as they appear/disappear Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
e7eb9271ee
commit
a347846698
1 changed files with 5 additions and 0 deletions
|
@ -1876,6 +1876,11 @@ make_demuxer (GstURISourceBin * urisrc, GstCaps * caps)
|
|||
continue;
|
||||
|
||||
demuxer = gst_element_factory_create (factory, NULL);
|
||||
if (!GST_OBJECT_FLAG_IS_SET (demuxer, GST_BIN_FLAG_STREAMS_AWARE)) {
|
||||
GST_DEBUG_OBJECT (urisrc, "Ignoring non-streams-aware adaptive demuxer");
|
||||
gst_object_unref (demuxer);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
gst_plugin_feature_list_free (eligible);
|
||||
|
|
Loading…
Reference in a new issue