From 62500b51291553ddb0d6346185f9e7b1a0d18c5c Mon Sep 17 00:00:00 2001 From: derrod Date: Tue, 12 Sep 2023 08:51:31 +0200 Subject: [PATCH] libobs: Do not skip async frames unless one has been selected --- libobs/obs-source.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libobs/obs-source.c b/libobs/obs-source.c index 0cf9b5652..9b5523fa8 100644 --- a/libobs/obs-source.c +++ b/libobs/obs-source.c @@ -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)