MediaControl.LinkTo (gb.media)
Sub LinkTo ( Target As MediaControl [ , Output As String, Input As String ] )
Link an output of the current
MediaControl to the input of the
Target MediaControl.
-
Target is the target control.
-
Output is the name of the output on the current control.
-
Input is the name of the input on the target control.
If
Output and
Input are not specified, GStreamer will try to find the best output and input that fits the link request,
according to the type of the source control and the type of the destination control.
Some controls have outputs that can appear on the fly, i.e. when the data arrives.
In that case, the LinkTo method fails, as the output does not exist when you call it.
You have to use
LinkLaterTo instead.
See also
LinkLaterTo