diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-06-13 22:37:13 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-06-13 22:37:13 +0000 |
commit | c4f663a1d4a7391db5648d0d098ae86fd77d1cc2 (patch) | |
tree | c444f0f89f4dfc68b0c21adac416cd4de0bdec5a /src | |
parent | 8aca308148ac1a47f8d64a1e1051abf7f8e91963 (diff) | |
download | xine-lib-c4f663a1d4a7391db5648d0d098ae86fd77d1cc2.tar.gz xine-lib-c4f663a1d4a7391db5648d0d098ae86fd77d1cc2.tar.bz2 |
Fixed mp3 playback.
CVS patchset: 172
CVS date: 2001/06/13 22:37:13
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_mpgaudio.c | 11 |
1 files changed, 6 insertions, 5 deletions
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); |