D6(fprintf(debug_file,"Exit sendImageFrame() OK @ %07d\n",get_fpga_usec(state->fd_fparmsall[0],0)));
return0;
...
...
@@ -1718,29 +1706,13 @@ int listener_loop(camogm_state *state)
D6(fprintf(debug_file,"No compressed frame ready, waited for the next frame sync for port %d @ %07d\n",curr_port,get_fpga_usec(state->fd_fparmsall[0],0)));
break;
// do not analyze next frame (may be non-existing), will do that next time
/*
fp0 = lseek(state->fd_circ[curr_port], 0, SEEK_CUR); // need to skip uncompressed frame, LWIR16 turns compressor off
if (fp0 < 0) {
D0(fprintf(debug_file, "%s:line %d got broken frame (%d) before waiting for ready\n", __FILE__, __LINE__, fp0));
D0(syslog(LOG_INFO,"Raw %s is opened in 0x%08x mode, __O_DIRECT=0x%08x, O_DIRECT=0x%08x",state->rawdev.rawdev_path,fcntl(state->writer_params.blockdev_fd,F_GETFL),__O_DIRECT,O_DIRECT));