Skip to content

Commit

Permalink
make replay source unbuffered
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Dec 28, 2023
1 parent 584c028 commit 15e2155
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions replay-source.c
Original file line number Diff line number Diff line change
Expand Up @@ -2344,6 +2344,7 @@ static void *replay_source_create(obs_data_t *settings, obs_source_t *source)
UNUSED_PARAMETER(settings);
struct replay_source *context = bzalloc(sizeof(struct replay_source));
context->source = source;
obs_source_set_async_unbuffered(source, true);
pthread_mutex_init(&context->video_mutex, NULL);
pthread_mutex_init(&context->audio_mutex, NULL);
pthread_mutex_init(&context->replay_mutex, NULL);
Expand Down

0 comments on commit 15e2155

Please sign in to comment.