Fix compilation of the samples

This commit is contained in:
Sebastian Dröge 2009-05-06 09:54:14 +02:00
parent 6b7a6a8d82
commit 71f1ba9080
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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