add more debugging
This commit is contained in:
parent
b5491102ef
commit
ab1c9f7c98
|
@ -693,6 +693,8 @@ Debug(2, "checking command Queue");
|
|||
} // end if buffered playback
|
||||
frame_count++;
|
||||
}
|
||||
unsigned long sleep_time = (unsigned long)((1000000 * ZM_RATE_BASE)/((base_fps?base_fps:1)*abs(replay_rate*2)));
|
||||
Debug(2,"Sleep for (%d) microseconds");
|
||||
usleep( (unsigned long)((1000000 * ZM_RATE_BASE)/((base_fps?base_fps:1)*abs(replay_rate*2))) );
|
||||
if ( ttl ) {
|
||||
if ( (now.tv_sec - stream_start_time) > ttl ) {
|
||||
|
@ -704,6 +706,7 @@ Debug(2, "checking command Queue");
|
|||
break;
|
||||
}
|
||||
} // end while
|
||||
|
||||
if ( buffered_playback ) {
|
||||
Debug( 1, "Cleaning swap files from %s", swap_path );
|
||||
struct stat stat_buf;
|
||||
|
|
|
@ -88,6 +88,7 @@ bool StreamBase::checkCommandQueue() {
|
|||
//Error( "Partial message received, expected %d bytes, got %d", sizeof(msg), nbytes );
|
||||
//}
|
||||
else {
|
||||
Debug(2, "Message length is (%d)", nbytes );
|
||||
processCommand( &msg );
|
||||
return( true );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue