From c4f663a1d4a7391db5648d0d098ae86fd77d1cc2 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 13 Jun 2001 22:37:13 +0000 Subject: Fixed mp3 playback. CVS patchset: 172 CVS date: 2001/06/13 22:37:13 --- src/demuxers/demux_mpgaudio.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c index 11f7eb6eb..555b381c2 100644 --- a/src/demuxers/demux_mpgaudio.c +++ b/src/demuxers/demux_mpgaudio.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: demux_mpgaudio.c,v 1.9 2001/06/03 12:16:44 guenter Exp $ + * $Id: demux_mpgaudio.c,v 1.10 2001/06/13 22:37:13 f1rmb Exp $ * * demultiplexer for mpeg audio (i.e. mp3) streams * @@ -90,10 +90,11 @@ static int demux_mpgaudio_next (demux_mpgaudio_t *this) { return 0; } - buf->DTS = 0; - buf->PTS = 0; - buf->input_pos = this->input->get_current_pos(this->input); - buf->type = BUF_AUDIO_MPEG; + buf->DTS = 0; + buf->PTS = 0; + buf->input_pos = this->input->get_current_pos(this->input); + buf->type = BUF_AUDIO_MPEG; + buf->decoder_info[0] = 1; if(this->audio_fifo) this->audio_fifo->put(this->audio_fifo, buf); -- cgit v1.2.3