Bin.findUnconnectedPad

Recursively looks for elements with an unconnected pad of the given direction within the specified bin and returns an unconnected pad if one is found, or NULL otherwise. If a pad is found, the caller owns a reference to it and should use gst_object_unref() on the pad when it is not needed any longer.

class Bin
findUnconnectedPad

Parameters

direction GstPadDirection

whether to look for an unconnected source or sink pad

Return Value

Type: Pad

unconnected pad of the given direction, or NULL. Since 0.10.3

Meta