]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/portaudio.c
input: Expose input_ItemHasErrorWhenReading.
[vlc] / modules / audio_output / portaudio.c
index 4e382dd593641177d9fb85be78ef24137047baae..0c19f297cb90b03756617b259d5db175d6ba23f2 100644 (file)
@@ -578,7 +578,7 @@ static void PORTAUDIOThread( pa_thread_t *pa_thread )
     aout_sys_t *p_sys;
     int i_err;
 
-    while( !pa_thread->b_die )
+    while( vlc_object_alive (pa_thread) )
     {
         /* Wait for start of stream */
         vlc_mutex_lock( &pa_thread->lock_signal );