Pad.setBlocked

Blocks or unblocks the dataflow on a pad. This function is a shortcut for gst_pad_set_blocked_async() with a NULL callback.

class Pad
int
setBlocked
()

Parameters

blocked int

boolean indicating we should block or unblock

Return Value

Type: int

TRUE if the pad could be blocked. This function can fail if the wrong parameters were passed or the pad was already in the requested state. MT safe.

Meta