v4l_enable_media_source(9) Hold media source for exclusive use if free

SYNOPSIS

int v4l_enable_media_source(struct video_device * vdev);

ARGUMENTS

vdev

pointer to struct video_device

DESCRIPTION

This interface calls enable_source handler to determine if media source is free for use. The enable_source handler is responsible for checking is the media source is free and start a pipeline between the media source and the media entity associated with the video device. This interface should be called from v4l2-core and dvb-core interfaces that change the source configuration.

RETURN

returns zero on success or a negative error code.

COPYRIGHT