From 54e7d3ecdb73fbbe09025c7f8b3bdbbe8ea87690 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 18 Dec 2002 03:59:10 +0000 Subject: log output CVS patchset: 3579 CVS date: 2002/12/18 03:59:10 --- src/xine-engine/audio_decoder.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/audio_decoder.c') diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 3a42a2369..4b3cbb848 100644 --- a/src/xine-engine/audio_decoder.c +++ b/src/xine-engine/audio_decoder.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: audio_decoder.c,v 1.91 2002/12/06 01:13:15 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.92 2002/12/18 03:59:10 guenter Exp $ * * * functions that implement audio decoding @@ -83,7 +83,17 @@ void *audio_decoder_loop (void *stream_gen) { break; case BUF_CONTROL_START: + +#ifdef LOG + printf ("audio_decoder: start\n"); +#endif + if (stream->audio_decoder_plugin) { + +#ifdef LOG + printf ("audio_decoder: close old decoder\n"); +#endif + free_audio_decoder (stream, stream->audio_decoder_plugin); stream->audio_decoder_plugin = NULL; stream->audio_track_map_entries = 0; @@ -142,6 +152,9 @@ void *audio_decoder_loop (void *stream_gen) { break; case BUF_CONTROL_RESET_DECODER: +#ifdef LOG + printf ("audio_decoder: reset\n"); +#endif if (stream->audio_decoder_plugin) stream->audio_decoder_plugin->reset (stream->audio_decoder_plugin); break; -- cgit v1.2.3