Gst.Element.Link C# (CSharp) Method

Link() public static method

public static Link ( ) : bool
return bool
        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;
            }
            return true;
        }

Usage Example

Beispiel #1
1
 void InsertReplayGain (Pad pad, bool blocked)
 {
     lock (pipeline_lock) {
         if (rgvolume == null) {
             rgvolume = ElementFactory.Make ("rgvolume", "rgvolume");
             Add (rgvolume);
             rgvolume.SyncStateWithParent ();
             visible_sink.SetTarget (rgvolume.GetStaticPad ("sink"));
             rgvolume.Link (first);
             first = rgvolume;
         }
     }
     visible_sink.SetBlocked (false, (_, __) => { });
 }
All Usage Examples Of Gst.Element::Link