Move mode types and functions to a new object (MR 13)
Rename MPCameraMode to a more generic MPMode and move it along with related functions to a new object in preparation for using it in the device object.
This commit is contained in:

committed by
Martijn Braam

parent
cd4ecdd964
commit
a4c2c1ec1f
@@ -36,7 +36,7 @@ enum user_control { USER_CONTROL_ISO, USER_CONTROL_SHUTTER };
|
||||
|
||||
static bool camera_is_initialized = false;
|
||||
static const struct mp_camera_config *camera = NULL;
|
||||
static MPCameraMode mode;
|
||||
static MPMode mode;
|
||||
|
||||
static int preview_width = -1;
|
||||
static int preview_height = -1;
|
||||
|
Reference in New Issue
Block a user