diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-14 09:19:44 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-14 09:19:44 +0000 |
commit | cfc9cd9b432c5fd405d22aac2462c834076b5d1b (patch) | |
tree | 0f0aa709557574b0499e7f39a3972622d4cd01af /src/xine-engine/xine.c | |
parent | 337cba4ee0d4caed7ad6a075c58e93bc3271a6ce (diff) | |
download | xine-lib-cfc9cd9b432c5fd405d22aac2462c834076b5d1b.tar.gz xine-lib-cfc9cd9b432c5fd405d22aac2462c834076b5d1b.tar.bz2 |
small patches and bugfixes (debugging on freebsd...)
CVS patchset: 174
CVS date: 2001/06/14 09:19:44
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 26352da6d..ebced5169 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.22 2001/06/04 17:13:36 guenter Exp $ + * $Id: xine.c,v 1.23 2001/06/14 09:19:44 guenter Exp $ * * top-level xine functions * @@ -317,22 +317,31 @@ void xine_exit (xine_t *this) { * stop decoder threads */ + printf ("xine_exit: stopping demuxer\n"); + if(this->cur_demuxer_plugin) { this->cur_demuxer_plugin->stop (this->cur_demuxer_plugin); this->cur_demuxer_plugin = NULL; } + printf ("xine_exit: closing input plugin\n"); + if(this->cur_input_plugin) { this->cur_input_plugin->close(this->cur_input_plugin); this->cur_input_plugin = NULL; } + printf ("xine_exit: shutdown audio\n"); + audio_decoder_shutdown (this); + + printf ("xine_exit: shutdown video\n"); + video_decoder_shutdown (this); this->status = XINE_QUIT; - this->config->save (this->config); + printf ("xine_exit: bye!\n"); } /* |