summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-09 02:44:39 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-09 02:44:39 +0000
commit7dc6d51bb322a864c3cca05ae712aa8022053e90 (patch)
treef377062eb04d0221531de031ad711598c920bdfe /src/xine-engine/audio_decoder.c
parent85a2757ca43eaf781c662a77c5a18b2d6dcb22fe (diff)
downloadxine-lib-7dc6d51bb322a864c3cca05ae712aa8022053e90.tar.gz
xine-lib-7dc6d51bb322a864c3cca05ae712aa8022053e90.tar.bz2
- 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
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c5
1 files changed, 2 insertions, 3 deletions
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;