diff --git a/src/api/broadcastdaemon.cpp b/src/api/broadcastdaemon.cpp index 9d742c21..388bb4de 100644 --- a/src/api/broadcastdaemon.cpp +++ b/src/api/broadcastdaemon.cpp @@ -102,8 +102,11 @@ void BroadcastDaemon::run(float sleep_duration_ms) end - start ); auto sleep_duration = inter_frame_duration - processing_duration; - if (sleep_duration.count() > 0) - std::this_thread::sleep_for(sleep_duration); + // Disable sleep temporarily on the experimental Windows + // branch, due to the suspected blocking nature of the + // Epiphan API calls. + // if (sleep_duration.count() > 0) + // std::this_thread::sleep_for(sleep_duration); } delete fill_frame; } diff --git a/src/epiphansdk/epiphansdk_video_source.cpp b/src/epiphansdk/epiphansdk_video_source.cpp index 599dbf78..5a197e42 100644 --- a/src/epiphansdk/epiphansdk_video_source.cpp +++ b/src/epiphansdk/epiphansdk_video_source.cpp @@ -22,6 +22,7 @@ VideoSourceEpiphanSDK::VideoSourceEpiphanSDK( std::cerr << "Could not open " << device_id << std::endl; return; } + FrmGrab_SetMaxFps(_frame_grabber, 160); if (colour_space != V2U_GRABFRAME_FORMAT_I420 && colour_space != V2U_GRABFRAME_FORMAT_RGB24) {