Gambas Documentation - /comp/gb.media/mediacontrol/linkto

# 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 Destination MediaControl.

- Destination 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.