mirror of https://github.com/mpv-player/mpv
fix a segfault when calling loadfile during v4l2 playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14215 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5e6cd8241b
commit
227df915e5
|
@ -838,7 +838,7 @@ static int uninit(priv_t *priv)
|
|||
}
|
||||
|
||||
/* stop audio thread */
|
||||
if (!tv_param_noaudio) {
|
||||
if (!tv_param_noaudio && !tv_param_immediate) {
|
||||
pthread_join(priv->audio_grabber_thread, NULL);
|
||||
pthread_mutex_destroy(&priv->skew_mutex);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue