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);