From e1867897c5a67161bad7f2a51720ca9dc3aa57dc Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Mon, 10 Dec 2001 23:40:29 +0000 Subject: Fix jerky playback at track start. Some improvment for other unices than Linux (NOTE: FreeBSD support is probably broken, i will fix in few minutes). CVS patchset: 1217 CVS date: 2001/12/10 23:40:29 --- src/demuxers/demux_cda.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/demuxers/demux_cda.c') diff --git a/src/demuxers/demux_cda.c b/src/demuxers/demux_cda.c index 9debcc048..cf6589a6a 100644 --- a/src/demuxers/demux_cda.c +++ b/src/demuxers/demux_cda.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_cda.c,v 1.2 2001/12/09 13:21:19 jkeil Exp $ + * $Id: demux_cda.c,v 1.3 2001/12/10 23:40:29 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -66,7 +66,7 @@ static int demux_cda_next (demux_cda_t *this) { buf_element_t *buf; int pos, len; - buf = this->input->read_block(this->input, this->audio_fifo, this->blocksize); + buf = this->input->read_block(this->input, this->video_fifo, this->blocksize); pos = this->input->get_current_pos(this->input); len = this->input->get_length(this->input); @@ -75,10 +75,10 @@ static int demux_cda_next (demux_cda_t *this) { buf->SCR = 0; buf->input_pos = pos; buf->input_time = buf->input_pos / this->blocksize; - buf->type = BUF_AUDIO_MPEG; /* Fake */ + buf->type = BUF_VIDEO_FILL; /* Fake */ - if(this->audio_fifo) - this->audio_fifo->put(this->audio_fifo, buf); + // if(this->audio_fifo) + this->video_fifo->put(this->video_fifo, buf); return ((pos < len)); } -- cgit v1.2.3