diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-03 21:25:03 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-03 21:25:03 +0000 |
commit | 130a1720469f16ceb52a6e571d15f4c018c5a006 (patch) | |
tree | da5031bf8fd964ca0650b11d507d96b20630154c /src/xine-engine/xine.c | |
parent | 3090bec802840f658c5dc06fe8e5bd0a620b8628 (diff) | |
download | xine-lib-130a1720469f16ceb52a6e571d15f4c018c5a006.tar.gz xine-lib-130a1720469f16ceb52a6e571d15f4c018c5a006.tar.bz2 |
chasing more races..
CVS patchset: 242
CVS date: 2001/07/03 21:25:03
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 542958083..000401caa 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.30 2001/06/23 19:45:47 guenter Exp $ + * $Id: xine.c,v 1.31 2001/07/03 21:25:04 guenter Exp $ * * top-level xine functions * @@ -75,17 +75,21 @@ void xine_stop (xine_t *this) { printf ("xine_stop\n"); if (this->status == XINE_STOP) { + printf ("xine_stop ignored\n"); pthread_mutex_unlock (&this->xine_lock); return; } this->status = XINE_STOP; + printf ("xine_stop: stopping demuxer\n"); if(this->cur_demuxer_plugin) { this->cur_demuxer_plugin->stop (this->cur_demuxer_plugin); this->cur_demuxer_plugin = NULL; } + printf ("xine_stop: closing input\n"); + if(this->cur_input_plugin) { this->cur_input_plugin->close(this->cur_input_plugin); this->cur_input_plugin = NULL; @@ -93,6 +97,8 @@ void xine_stop (xine_t *this) { this->spu_fifo->clear(this->spu_fifo); + printf ("xine_stop: done\n"); + pthread_mutex_unlock (&this->xine_lock); } |