playbin3: Cleanup and refactor combiner sourcecombine
authorEdward Hervey <edward@centricular.com>
Fri, 6 May 2022 07:10:09 +0000 (09:10 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 6 May 2022 07:10:09 +0000 (09:10 +0200)
commit53bb8642449e65114f744cab337ec298ca8046cf
treebac23684aaf46dad781040a4ba22a2a459c0dfce
parent8870f59a07fe8076353b189265d568d9c2be98de
playbin3: Cleanup and refactor combiner sourcecombine

* Remove fields no longer used, or that can be replaced by smaller code
* Rename "channels" to a more meaningful "input pads"
* Directly handle/use combiner pads in the combiners instead of on the playbin3
  main structure

Remove the corresponding combiner sinkpad whenever a uridecodebin3 source pad
goes away
* If used, store the corresponding combiner sink pad in the SourcePad helper
  structure

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2384>
subprojects/gst-plugins-base/gst/playback/gstplaybin3.c
subprojects/gst-plugins-base/gst/playback/gstplaysink.c
subprojects/gst-plugins-base/gst/playback/gstplaysink.h