diff --git a/CMakeLists.txt b/CMakeLists.txt index cb46788..179a120 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ endif( DEFINED OpenCV_DIR ) set(Boost_USE_MULTITHREADED ON) set( BOOST_COMPONENTS system filesystem date_time regex thread timer chrono serialization log log_setup program_options) -set( BOOST_MIN_VERSION "1.55.0" CACHE STRING "Minimum version of boost you would like to link against (e.g. C:/BOOST_1_55_0 is 1.55.0" ) +set( BOOST_MIN_VERSION "1.54.0" CACHE STRING "Minimum version of boost you would like to link against (e.g. C:/BOOST_1_55_0 is 1.55.0" ) status("") if( ANDROID ) find_host_package( Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS ${BOOST_COMPONENTS} ) @@ -159,4 +159,4 @@ status("") status( "Apps identified for building:" ) foreach( app ${${rootProject}_APPS} ) status( " - ${app}" ) -endforeach( app ${${rootProject}_APPS} ) \ No newline at end of file +endforeach( app ${${rootProject}_APPS} ) diff --git a/video-demo/video-demo.cpp b/video-demo/video-demo.cpp index 695ff1a..2a2d043 100644 --- a/video-demo/video-demo.cpp +++ b/video-demo/video-demo.cpp @@ -168,7 +168,7 @@ int main(int argsc, char ** argsv) ((PhotoDetector *)detector.get())->process(frame); //Process an image } - while (!VIDEO_EXTS[fileExt] || videoListenPtr->isRunning()) + while (VIDEO_EXTS[fileExt] && videoListenPtr->isRunning()) { if (listenPtr->getDataSize() > 0) {