From: Guenter B. <gu...@us...> - 2001-08-25 07:51:29
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory usw-pr-cvs1:/tmp/cvs-serv13758 Modified Files: audio_decoder.c xine.c Log Message: small cleanups and fixes for new pause implementation Index: audio_decoder.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/audio_decoder.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- audio_decoder.c 2001/08/25 07:12:16 1.29 +++ audio_decoder.c 2001/08/25 07:51:24 1.30 @@ -27,9 +27,11 @@ #include "config.h" #endif +#include <sched.h> +#include <unistd.h> + #include "xine_internal.h" #include "monitor.h" -#include <sched.h> void *audio_decoder_loop (void *this_gen) { @@ -229,7 +231,7 @@ buf->type = BUF_CONTROL_QUIT; this->audio_fifo->put (this->audio_fifo, buf); - pthread_join (this->audio_thread, &p); + pthread_join (this->audio_thread, &p); } } Index: xine.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/xine.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -r1.48 -r1.49 --- xine.c 2001/08/25 07:12:16 1.48 +++ xine.c 2001/08/25 07:51:24 1.49 @@ -320,6 +320,7 @@ printf ("xine_exit: shutdown audio\n"); + this->audio_mute = 1; audio_decoder_shutdown (this); printf ("xine_exit: shutdown video\n"); |