gstreamer: bin: more generic add_many() API
No longer enforces to pass an array of references.
@slomo : I tried what you suggested yesterday and that seems to work.
If that's ok with you I'll change the other many
APIs as well to this pattern.
Merge request reports
Activity
added Enhancement label
- Resolved by Guillaume Desmottes
added 1 commit
- e98908f4 - fix clippy warnings introduced with add_many() API change
added 1 commit
- 4a7180ce - gstreamer: bin: more generic {add,remove}_many() API
- Resolved by Guillaume Desmottes
I'm not sure about
Element::(un)link_many()
as its implementation rely onslice::windows()
which I'm not sure we can use withimpl IntoIterator<Item = impl AsRef<Element>>
.Any idea?
added 1 commit
- fcc9c36f - gstreamer: element: more generic (un)link_many() API
- Resolved by Guillaume Desmottes
- Resolved by Guillaume Desmottes
Changes look good. Did you do a short search in case there are other such functions that could be improved a bit?
assigned to @gstreamer-merge-bot
mentioned in commit gdesmott/gstreamer-rs@01d3cef7
mentioned in commit gdesmott/gstreamer-rs@c4a968a4