From 4b80217cb872335e6f01de22d58fc0778da265c6 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 26 Dec 2002 21:53:41 +0000 Subject: - cleanup internal interfaces for rewiring - fix UI_PLAYBACK_FINISHED rifle CVS patchset: 3686 CVS date: 2002/12/26 21:53:41 --- src/xine-engine/audio_decoder.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 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 844643b0a..b5c8bf79c 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.94 2002/12/21 16:13:43 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.95 2002/12/26 21:53:42 miguelfreitas Exp $ * * * functions that implement audio decoding @@ -114,21 +114,12 @@ void *audio_decoder_loop (void *stream_gen) { pthread_cond_broadcast (&stream->counter_changed); - if (stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO]) { - - while (stream->finished_count_video < stream->finished_count_audio) { - pthread_cond_wait (&stream->counter_changed, &stream->counter_lock); - } + while (stream->finished_count_video < stream->finished_count_audio) { + pthread_cond_wait (&stream->counter_changed, &stream->counter_lock); } pthread_mutex_unlock (&stream->counter_lock); - if (!stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO]) { - /* set engine status, send frontend notification event */ - xine_handle_stream_end (stream, - buf->decoder_flags & BUF_FLAG_END_STREAM); - } - stream->audio_channel_auto = -1; break; -- cgit v1.2.3