media_entity_remote_pad(9) Find the pad at the remote end of a link

SYNOPSIS

struct media_pad * media_entity_remote_pad(struct media_pad * pad);

ARGUMENTS

pad

Pad at the local end of the link

DESCRIPTION

Search for a remote pad connected to the given pad by iterating over all links originating or terminating at that pad until an enabled link is found.

Return a pointer to the pad at the remote end of the first found enabled link, or NULL if no enabled link has been found.

COPYRIGHT