From 71f1ba9080174bfaf942f6aeee79e2e37a8df822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 6 May 2009 09:54:14 +0200 Subject: [PATCH] Fix compilation of the samples --- samples/DecodeBinTranscoder.cs | 2 +- samples/HelloWorld.cs | 2 +- samples/TypeFind.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/DecodeBinTranscoder.cs b/samples/DecodeBinTranscoder.cs index eb4c29d06b..48b333b7d6 100644 --- a/samples/DecodeBinTranscoder.cs +++ b/samples/DecodeBinTranscoder.cs @@ -98,7 +98,7 @@ public class DecodeBinTranscoder : IDisposable decodebin = ElementFactory.Make("decodebin", "decodebin") as DecodeBin; decodebin.NewDecodedPad += OnNewDecodedPad; - pipeline.AddMany(filesrc, decodebin, audioconvert, encoder, filesink); + pipeline.Add (filesrc, decodebin, audioconvert, encoder, filesink); filesrc.Link(decodebin); audioconvert.Link(encoder); diff --git a/samples/HelloWorld.cs b/samples/HelloWorld.cs index 69c6a63642..feb15e4993 100644 --- a/samples/HelloWorld.cs +++ b/samples/HelloWorld.cs @@ -34,7 +34,7 @@ public class HelloWorld Bin bin = (Bin) pipeline; bin.Bus.AddWatch(new BusFunc(BusCall)); - bin.AddMany(source, parser, decoder, conv, identity, sink); + bin.Add (source, parser, decoder, conv, identity, sink); if(!source.Link(parser)) { Console.WriteLine("link failed between source and parser"); diff --git a/samples/TypeFind.cs b/samples/TypeFind.cs index 47a8575cc3..88ee4aa1b9 100644 --- a/samples/TypeFind.cs +++ b/samples/TypeFind.cs @@ -18,7 +18,7 @@ public static class GstTypefindTest typefind.HaveType += OnHaveType; - pipeline.AddMany(source, typefind, sink); + pipeline.Add (source, typefind, sink); source.Link(typefind); typefind.Link(sink);