D1(fprintf(debug_file,"Re-starting raw data recording, using the same state file, next will be %s, state->path='%s'\n",get_state_path(state),state->path));
D1(syslog(LOG_INFO,"Re-starting raw data recording, next will be %s",get_state_path(state)));
D0(fprintf(debug_file,"Re-starting raw data recording, using the same state file, next will be %s, state->path='%s'\n",get_state_path(state),state->path));
D0(syslog(LOG_INFO,"Re-starting raw data recording, next will be %s",get_state_path(state)));
}
}
}else{
D1(fprintf(debug_file,"Starting file system recording to %s\n",state->path));
D1(syslog(LOG_INFO,"Starting file system recording to %s",state->path));
D0(fprintf(debug_file,"Starting file system recording to %s\n",state->path));
D0(syslog(LOG_INFO,"Starting file system recording to %s",state->path));
}
doubledtime_stamp;
...
...
@@ -409,14 +409,23 @@ int camogm_start(camogm_state *state, bool restart)