media_entity_graph_walk_next(9) Get the next entity in the graph

SYNOPSIS

struct media_entity * media_entity_graph_walk_next(struct media_entity_graph * graph);

ARGUMENTS

graph

Media graph structure

DESCRIPTION

Perform a depth-first traversal of the given media entities graph.

The graph structure must have been previously initialized with a call to media_entity_graph_walk_start.

Return the next entity in the graph or NULL if the whole graph have been traversed.

COPYRIGHT