From 89b2bf76f80eb05badeb340e2a00a8fbb6e17db3 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 8 Jan 2003 01:02:27 +0000 Subject: fixes/cleanups of the handled/unhandled codecs for more information see message on xine-devel CVS patchset: 3818 CVS date: 2003/01/08 01:02:27 --- src/libreal/audio_decoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libreal/audio_decoder.c') diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c index b6e8045ee..38200df40 100644 --- a/src/libreal/audio_decoder.c +++ b/src/libreal/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.18 2003/01/03 23:18:13 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.19 2003/01/08 01:02:30 miguelfreitas Exp $ * * thin layer to use real binary-only codecs in xine * @@ -430,6 +430,8 @@ static void realdec_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) } else if (buf->decoder_flags & BUF_FLAG_HEADER) { this->decoder_ok = init_codec (this, buf) ; + if( !this->decoder_ok ) + this->stream->stream_info[XINE_STREAM_INFO_AUDIO_HANDLED] = 0; } else if( this->decoder_ok ) { -- cgit v1.2.3