mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
Call LinkMany Link and UnlinkMany Unlink
This commit is contained in:
parent
5e1cc54a37
commit
c77fa39ad1
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ public bool AddPad (Pad p) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static bool LinkMany (params Element [] elements) {
|
||||
public static bool Link (params Element [] elements) {
|
||||
for (int i = 0; i < elements.Length - 1; i++) {
|
||||
if (!elements[i].Link (elements[i+1]))
|
||||
return false;
|
||||
|
@ -19,7 +19,7 @@ public static bool LinkMany (params Element [] elements) {
|
|||
return true;
|
||||
}
|
||||
|
||||
public static void UnlinkMany (params Element [] elements) {
|
||||
public static void Unlink (params Element [] elements) {
|
||||
for (int i = 0; i < elements.Length - 1; i++) {
|
||||
elements[i].Unlink (elements[i+1]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue