From 2408a34f47034a4d1a6a20e2f46b40b282ee9cb2 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Fri, 31 Oct 2003 23:58:32 +0000 Subject: Use info_helper functions. CVS patchset: 5658 CVS date: 2003/10/31 23:58:32 --- src/demuxers/demux_aud.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/demuxers/demux_aud.c') diff --git a/src/demuxers/demux_aud.c b/src/demuxers/demux_aud.c index a2f1354b2..723722f52 100644 --- a/src/demuxers/demux_aud.c +++ b/src/demuxers/demux_aud.c @@ -34,7 +34,7 @@ * data. This makes seeking conceptually impossible. Upshot: Random * seeking is not supported. * - * $Id: demux_aud.c,v 1.11 2003/08/25 21:51:38 f1rmb Exp $ + * $Id: demux_aud.c,v 1.12 2003/10/31 23:58:32 tmattern Exp $ */ #ifdef HAVE_CONFIG_H @@ -195,14 +195,14 @@ static void demux_aud_send_headers(demux_plugin_t *this_gen) { this->status = DEMUX_OK; /* load stream information */ - this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 0; - this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_CHANNELS] = - this->audio_channels; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_SAMPLERATE] = - this->audio_samplerate; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_BITS] = - this->audio_bits; + xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 0); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_CHANNELS, + this->audio_channels); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_SAMPLERATE, + this->audio_samplerate); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_BITS, + this->audio_bits); /* send start buffers */ xine_demux_control_start(this->stream); -- cgit v1.2.3