From c77fa39ad10061f411479a9b4677d2dcabc92b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 28 May 2009 14:06:41 +0200 Subject: [PATCH] Call LinkMany Link and UnlinkMany Unlink --- gstreamer-sharp/Element.custom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gstreamer-sharp/Element.custom b/gstreamer-sharp/Element.custom index 46d809c7d9..0aaf289eb7 100644 --- a/gstreamer-sharp/Element.custom +++ b/gstreamer-sharp/Element.custom @@ -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]); }