mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
libobs: Do not skip async frames unless one has been selected
This commit is contained in:
parent
7a695dd634
commit
62500b5129
|
@ -4256,7 +4256,8 @@ static bool ready_async_frame(obs_source_t *source, uint64_t sys_time)
|
|||
* helps smooth out async rendering to frame boundaries. In
|
||||
* other words, tries to keep the framerate as smooth as
|
||||
* possible */
|
||||
if ((source->last_frame_ts - next_frame->timestamp) < 2000000)
|
||||
if (frame &&
|
||||
(source->last_frame_ts - next_frame->timestamp) < 2000000)
|
||||
break;
|
||||
|
||||
if (frame)
|
||||
|
|
Loading…
Reference in a new issue