parsebin: Improve elementary stream handling
authorEdward Hervey <edward@centricular.com>
Mon, 20 Mar 2023 15:16:34 +0000 (16:16 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 21 Mar 2023 11:36:13 +0000 (11:36 +0000)
commit02a8e4bb4c37b4ed3775eec7e87cac0ecdbacb78
tree4df4039e203e4fd0187a161a1ae52870c189145a
parent9ea540c616986d6bffcfca8897785662c7aea02e
parsebin: Improve elementary stream handling

The goal of parsebin is to figure out which elements to link together in order
to provide elementary streams given any random input.

The problem is that deciding whether a given stream should still have more
elements plugged in or not was dependent on ... the presence of compatible
decoders (sic).

Instead of that, if we can't plug anymore elements on a given stream *and* it is
detected as being an elementary stream, expose it.

Fixes #2118

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