@@ -140,6 +140,7 @@ ctx_parm config_parms[] = {
140
140
{" movie_passthrough" , PARM_TYP_BOOL, PARM_CAT_10, PARM_LEVEL_LIMITED },
141
141
{" movie_filename" , PARM_TYP_STRING, PARM_CAT_10, PARM_LEVEL_LIMITED },
142
142
{" movie_retain" , PARM_TYP_LIST, PARM_CAT_10, PARM_LEVEL_LIMITED },
143
+ {" movie_all_frames" , PARM_TYP_BOOL, PARM_CAT_10, PARM_LEVEL_LIMITED },
143
144
{" movie_extpipe_use" , PARM_TYP_BOOL, PARM_CAT_10, PARM_LEVEL_RESTRICTED },
144
145
{" movie_extpipe" , PARM_TYP_STRING, PARM_CAT_10, PARM_LEVEL_RESTRICTED },
145
146
@@ -2110,6 +2111,19 @@ void cls_config::edit_movie_retain(std::string &parm, enum PARM_ACT pact)
2110
2111
MOTION_LOG (DBG, TYPE_ALL, NO_ERRNO," %s:%s" ," movie_retain" ,_ (" movie_retain" ));
2111
2112
}
2112
2113
2114
+ void cls_config::edit_movie_all_frames (std::string &parm, enum PARM_ACT pact)
2115
+ {
2116
+ if (pact == PARM_ACT_DFLT) {
2117
+ movie_all_frames = true ;
2118
+ } else if (pact == PARM_ACT_SET) {
2119
+ edit_set_bool (movie_all_frames, parm);
2120
+ } else if (pact == PARM_ACT_GET) {
2121
+ edit_get_bool (parm, movie_all_frames);
2122
+ }
2123
+ return ;
2124
+ MOTION_LOG (DBG, TYPE_ALL, NO_ERRNO," %s:%s" ," movie_all_frames" ,_ (" movie_all_frames" ));
2125
+ }
2126
+
2113
2127
void cls_config::edit_movie_extpipe_use (std::string &parm, enum PARM_ACT pact)
2114
2128
{
2115
2129
if (pact == PARM_ACT_DFLT) {
@@ -3311,6 +3325,7 @@ void cls_config::edit_cat10(std::string parm_nm, std::string &parm_val, enum PAR
3311
3325
} else if (parm_nm == " movie_passthrough" ) { edit_movie_passthrough (parm_val, pact);
3312
3326
} else if (parm_nm == " movie_filename" ) { edit_movie_filename (parm_val, pact);
3313
3327
} else if (parm_nm == " movie_retain" ) { edit_movie_retain (parm_val, pact);
3328
+ } else if (parm_nm == " movie_all_frames" ) { edit_movie_all_frames (parm_val, pact);
3314
3329
} else if (parm_nm == " movie_extpipe_use" ) { edit_movie_extpipe_use (parm_val, pact);
3315
3330
} else if (parm_nm == " movie_extpipe" ) { edit_movie_extpipe (parm_val, pact);
3316
3331
}
0 commit comments