TUrn a warning into a debug

pull/2077/head
Isaac Connor 2018-01-28 15:16:06 -05:00
parent 16c24240f7
commit 057509637a
1 changed files with 3 additions and 3 deletions

View File

@ -479,12 +479,12 @@ Debug(2,"last_write_index(%d), last_write_time(%d)", shared_data->last_write_ind
while(
( shared_data->last_write_index == (unsigned int)image_buffer_count )
&&
( shared_data->last_write_time == 0)
( shared_data->last_write_time == 0 )
&&
( !zm_terminate )
) {
Warning( "Waiting for capture daemon" );
sleep( 1 );
Debug(1, "Waiting for capture daemon");
sleep(1);
}
ref_image.Assign( width, height, camera->Colours(), camera->SubpixelOrder(), image_buffer[shared_data->last_write_index].image->Buffer(), camera->ImageSize());
adaptive_skip = true;