diff --git a/libobs/obs-video.c b/libobs/obs-video.c index 5c7b22fa2..aab5dfeff 100644 --- a/libobs/obs-video.c +++ b/libobs/obs-video.c @@ -486,7 +486,7 @@ static inline void video_sleep(struct obs_core_video *video, uint64_t t = cur_time + interval_ns; int count; - if (!os_sleepto_ns(t)) { + if (os_sleepto_ns(t)) { *p_time = t; count = 1; } else {