Created
November 2, 2021 00:24
-
-
Save rationalsa/00a71a35be7550cb23f6c6c85a7750e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libobs/obs-source.c b/libobs/obs-source.c | |
index ce88b8219..1ef1ce2a0 100644 | |
--- a/libobs/obs-source.c | |
+++ b/libobs/obs-source.c | |
@@ -2878,6 +2878,7 @@ cache_video(struct obs_source *source, const struct obs_source_frame *frame) | |
} | |
if (!available) { | |
+ free_async_cache(source); | |
source->last_frame_ts = 0; | |
pthread_mutex_unlock(&source->async_mutex); | |
return NULL; | |
-- | |
2.33.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment