doc/pipeline-manipulation: mention "insertbin" and "switchbin"

Using one of these elements might save a lot of struggle hours
to the user, because they actually target the case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5514>
This commit is contained in:
Alexander Slobodeniuk 2023-11-16 20:31:12 +01:00
parent 2922c6182d
commit 263b08bc53

View file

@ -1010,6 +1010,9 @@ while in `PLAYING` state and without interrupting the data flow.
There are some important things to consider when building dynamic There are some important things to consider when building dynamic
pipelines: pipelines:
- There are `insertbin` and `switchbin` elements, that target some
cases of dynamical pipeline changes, and might fulfill your needs.
- When removing elements from the pipeline, make sure that there is no - When removing elements from the pipeline, make sure that there is no
dataflow on unlinked pads because that will cause a fatal pipeline dataflow on unlinked pads because that will cause a fatal pipeline
error. Always block source pads (in push mode) or sink pads (in pull error. Always block source pads (in push mode) or sink pads (in pull