mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
Bin: Add overloads for Add and Remove
This commit is contained in:
parent
f1ea09aca2
commit
2e8045d2dc
1 changed files with 12 additions and 0 deletions
|
@ -22,5 +22,17 @@ namespace Gst {
|
|||
|
||||
partial class Bin {
|
||||
public Bin () : this (null) {}
|
||||
|
||||
public void Add (params Element [] elements) {
|
||||
foreach (var elem in elements) {
|
||||
Add (elem);
|
||||
}
|
||||
}
|
||||
|
||||
public void Remove (params Element [] elements) {
|
||||
foreach (var elem in elements) {
|
||||
Remove (elem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue