From: Dimitry Ishenko Date: Wed, 18 Nov 2015 23:31:51 +0000 (-0500) Subject: boost::this_thread::sleep is deprecated X-Git-Tag: 2.1.0_Beta1~179^2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e962ccd7dac3c29c7b7fa860c19d41fd65a509ae;p=casparcg boost::this_thread::sleep is deprecated --- diff --git a/modules/ffmpeg/producer/input/input.cpp b/modules/ffmpeg/producer/input/input.cpp index 64a75f675..d196752ff 100644 --- a/modules/ffmpeg/producer/input/input.cpp +++ b/modules/ffmpeg/producer/input/input.cpp @@ -193,7 +193,7 @@ struct input::impl : boost::noncopyable return false; // Play nice - boost::this_thread::sleep(boost::posix_time::milliseconds(5)); + boost::this_thread::sleep_for(boost::chrono::milliseconds(5)); } return true;