camera_set_filename()
Set the filename associated with a camera
Synopsis:
#include <camera/camera_api.h>camera_error_t camera_set_filename(camera_handle_t handle,
const char *filename)Arguments:
- handle
- The handle returned by a call to the camera_open() function.
- filename
- The name of the file to associate with the camera.
Library:
libcamapiDescription:
For cameras that support the feature CAMERA_FEATURE_FILENAME, this function permits changing the file used to generate the simulated content of the camera frames. The file needs to be an MP4 file encoded in a video format supported by the platform.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.
Page updated:
