mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
Also make sure the mutex unlocks
Otherwise deadlock
This commit is contained in:
@@ -839,7 +839,7 @@ static void ffmpeg_output_stop(void *data)
|
||||
av_free_packet(output->packets.array+i);
|
||||
da_free(output->packets);
|
||||
|
||||
pthread_mutex_lock(&output->write_mutex);
|
||||
pthread_mutex_unlock(&output->write_mutex);
|
||||
|
||||
ffmpeg_data_free(&output->ff_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user