From 4baae51b8b448ed4e74278e0468cac4a61c32abc Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 29 Nov 2002 17:25:26 +0000 Subject: no need to dispose the current decoder plugin on stream end, it will be disposed anyway as soon as a new stream starts or another decoder is needed benefit: the dxr3 video decoder will not close the device after playing the logo and therefore the image will stay on screen CVS patchset: 3389 CVS date: 2002/11/29 17:25:26 --- src/xine-engine/audio_decoder.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (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 a7258618e..68a93f1a0 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.89 2002/11/12 18:40:54 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.90 2002/11/29 17:25:26 mroi Exp $ * * * functions that implement audio decoding @@ -96,13 +96,6 @@ void *audio_decoder_loop (void *stream_gen) { case BUF_CONTROL_END: - if (stream->audio_decoder_plugin) { - free_audio_decoder (stream, stream->audio_decoder_plugin); - stream->audio_decoder_plugin = NULL; - stream->audio_track_map_entries = 0; - stream->audio_type = 0; - } - /* wait for video to reach this marker, if necessary */ pthread_mutex_lock (&stream->counter_lock); -- cgit v1.2.3