parsebin: Don't modify inexistant GstStream
authorEdward Hervey <edward@centricular.com>
Tue, 3 May 2022 14:25:19 +0000 (16:25 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 4 May 2022 07:26:39 +0000 (07:26 +0000)
commit17aa70b8880659d2d30cb8a454bb2b89337bd847
tree5ff822aceaca0c21f09f16030b75bc86a87986dc
parent4be8b1b0a1e3be3efd58a880e81a29f53fe7cf54
parsebin: Don't modify inexistant GstStream

When handling exposing un-handled streams, we can only replace the GstStream for
those we are creating ourselves (i.e. the fallback collection).

Fixes assertions when the demuxer creates those streams

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