decodebin3: Refactor parsebin output handling
authorEdward Hervey <edward@centricular.com>
Sat, 5 Nov 2022 08:16:41 +0000 (09:16 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 14:01:46 +0000 (14:01 +0000)
commitf091d2445f61766c01c7a431e2d0a12ff3127903
tree35fe7f69f3b9befcd4470624420db21a8450d84a
parentd14c14dcc4b3f4e2f1e8fdb3aecd11a7cc00aac0
decodebin3: Refactor parsebin output handling

* Instead of creating temporary `PendingPad` structures, always create a
  DecodebinInputStream for every pad of parsebin
* Remove never used `pending_stream` field from DecodebinInputStream
* When unblocking a given DecodebinInput (i.e. wrapping a parsebin), also make
  sure that other parsebins from the same GstStreamCollection are unblocked
  since they come from the same source

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