mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-05 11:03:31 +00:00
Merge ad910b674e
into 9d67bf2662
This commit is contained in:
commit
56891231ee
|
@ -878,13 +878,13 @@ static void obs_free_video(void)
|
||||||
obs_free_video_mix(video);
|
obs_free_video_mix(video);
|
||||||
obs->video.mixes.array[i] = NULL;
|
obs->video.mixes.array[i] = NULL;
|
||||||
}
|
}
|
||||||
|
da_free(obs->video.mixes);
|
||||||
if (num_views > 0)
|
if (num_views > 0)
|
||||||
blog(LOG_WARNING, "Number of remaining views: %ld", num_views);
|
blog(LOG_WARNING, "Number of remaining views: %ld", num_views);
|
||||||
pthread_mutex_unlock(&obs->video.mixes_mutex);
|
pthread_mutex_unlock(&obs->video.mixes_mutex);
|
||||||
|
|
||||||
pthread_mutex_destroy(&obs->video.mixes_mutex);
|
pthread_mutex_destroy(&obs->video.mixes_mutex);
|
||||||
pthread_mutex_init_value(&obs->video.mixes_mutex);
|
pthread_mutex_init_value(&obs->video.mixes_mutex);
|
||||||
da_free(obs->video.mixes);
|
|
||||||
|
|
||||||
for (size_t i = 0; i < obs->video.ready_encoder_groups.num; i++) {
|
for (size_t i = 0; i < obs->video.ready_encoder_groups.num; i++) {
|
||||||
obs_weak_encoder_release(
|
obs_weak_encoder_release(
|
||||||
|
|
Loading…
Reference in a new issue