media_entity_pipeline_start(9) Mark a pipeline as streaming

SYNOPSIS

int media_entity_pipeline_start(struct media_entity * entity, struct media_pipeline * pipe);

ARGUMENTS

entity

Starting entity

pipe

Media pipeline to be assigned to all entities in the pipeline.

DESCRIPTION

Mark all entities connected to a given entity through enabled links, either directly or indirectly, as streaming. The given pipeline object is assigned to every entity in the pipeline and stored in the media_entity pipe field.

Calls to this function can be nested, in which case the same number of media_entity_pipeline_stop calls will be required to stop streaming. The pipeline pointer must be identical for all nested calls to media_entity_pipeline_start.

COPYRIGHT