urisourcebin: Modify check for streams-aware adaptive demuxers
authorEdward Hervey <edward@centricular.com>
Mon, 19 Dec 2022 10:49:32 +0000 (11:49 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 19 Dec 2022 15:23:32 +0000 (15:23 +0000)
commit74a503c1970af98fdf3207b2537e30ec77459e3e
treed5c458601bfd5225f73cc0e0a01614ead23fa7fa
parent2a602afe8a8342d54cd03dfef69142d8b4bec56f
urisourcebin: Modify check for streams-aware adaptive demuxers

Using the "GstBin" flags to check if an adaptive demuxer is streams-aware isn't
a good idea since it prevents using elements which aren't bins.

Instead we see if a collection was posted by the demuxer by the time a pad is
added.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3601>
subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c