diff --git a/libobs/obs-source-deinterlace.c b/libobs/obs-source-deinterlace.c index 319a1be62..c65540514 100644 --- a/libobs/obs-source-deinterlace.c +++ b/libobs/obs-source-deinterlace.c @@ -37,6 +37,7 @@ static bool ready_deinterlace_frames(obs_source_t *source, uint64_t sys_time) if (source->async_frames.num == 2) source->async_frames.array[0]->prev_frame = true; source->deinterlace_offset = 0; + source->last_frame_ts = next_frame->timestamp; return true; } diff --git a/libobs/obs-source.c b/libobs/obs-source.c index 6423a2adb..e1f2be104 100644 --- a/libobs/obs-source.c +++ b/libobs/obs-source.c @@ -2513,6 +2513,7 @@ static bool ready_async_frame(obs_source_t *source, uint64_t sys_time) next_frame = source->async_frames.array[0]; } + source->last_frame_ts = next_frame->timestamp; return true; }