mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 06:22:29 +00:00
Fix compilation of the samples
This commit is contained in:
parent
6b7a6a8d82
commit
71f1ba9080
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue