diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-10-30 00:49:07 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-10-30 00:49:07 +0000 |
commit | 23aee9ab6c893f508e31e1a62466264c64df232b (patch) | |
tree | 8464b24ebfbc4a171fcf2cc07d2db9c13d0eaf53 /src/demuxers/demux_eawve.c | |
parent | 69e11ccd286181b6191454d59cf772c0034aa239 (diff) | |
download | xine-lib-23aee9ab6c893f508e31e1a62466264c64df232b.tar.gz xine-lib-23aee9ab6c893f508e31e1a62466264c64df232b.tar.bz2 |
use info_helper functions.
CVS patchset: 5638
CVS date: 2003/10/30 00:49:07
Diffstat (limited to 'src/demuxers/demux_eawve.c')
-rw-r--r-- | src/demuxers/demux_eawve.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/demuxers/demux_eawve.c b/src/demuxers/demux_eawve.c index f2cbf79dd..be0c89786 100644 --- a/src/demuxers/demux_eawve.c +++ b/src/demuxers/demux_eawve.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_eawve.c,v 1.20 2003/08/25 21:51:38 f1rmb Exp $ + * $Id: demux_eawve.c,v 1.21 2003/10/30 00:49:07 tmattern Exp $ * * demux_eawve.c, Demuxer plugin for Electronic Arts' WVE file format * @@ -287,11 +287,11 @@ static void demux_eawve_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] = 2; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_SAMPLERATE] = 22050; - this->stream->stream_info[XINE_STREAM_INFO_AUDIO_BITS] = 16; + 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, 2); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_SAMPLERATE, 22050); + xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_BITS, 16); /* send start buffers */ xine_demux_control_start(this->stream); |