summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_cda.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-12-10 23:40:29 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-12-10 23:40:29 +0000
commite1867897c5a67161bad7f2a51720ca9dc3aa57dc (patch)
treebc9dd230c507f384816c7be4155171d6ab37d1b6 /src/demuxers/demux_cda.c
parent0c276a7b6e65654337c0db6dd5f3149778db6b40 (diff)
downloadxine-lib-e1867897c5a67161bad7f2a51720ca9dc3aa57dc.tar.gz
xine-lib-e1867897c5a67161bad7f2a51720ca9dc3aa57dc.tar.bz2
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
Diffstat (limited to 'src/demuxers/demux_cda.c')
-rw-r--r--src/demuxers/demux_cda.c10
1 files changed, 5 insertions, 5 deletions
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));
}