From 7dc6d51bb322a864c3cca05ae712aa8022053e90 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 9 Jan 2003 02:44:39 +0000 Subject: - can't use HAS_VIDEO/HAS_AUDIO at this stage because some demuxers will only set it on send_headers. also daniel convinced me that xine does "handle a no audio stream" - fix audio_out.c to abort filling with zero on seeking/stop/quit. CVS patchset: 3840 CVS date: 2003/01/09 02:44:39 --- src/xine-engine/audio_decoder.c | 5 ++--- 1 file changed, 2 insertions(+), 3 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 e9708983a..64aedf762 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.99 2003/01/09 01:09:57 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.100 2003/01/09 02:44:39 miguelfreitas Exp $ * * * functions that implement audio decoding @@ -98,8 +98,7 @@ void *audio_decoder_loop (void *stream_gen) { stream->metronom->handle_audio_discontinuity (stream->metronom, DISC_STREAMSTART, 0); /* assume handled, we will known after trying to init decoder */ - stream->stream_info[XINE_STREAM_INFO_AUDIO_HANDLED] = - stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO]; + stream->stream_info[XINE_STREAM_INFO_AUDIO_HANDLED] = 1; buftype_unknown = 0; break; -- cgit v1.2.3