From: James Courtier-D. <jcd...@us...> - 2001-10-26 15:10:57
|
Update of /cvsroot/xine/xine-lib/src/libspudec In directory usw-pr-cvs1:/tmp/cvs-serv27430/xine-lib/src/libspudec Modified Files: xine_decoder.c Log Message: Inserted a FIXME. Index: xine_decoder.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libspudec/xine_decoder.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- xine_decoder.c 2001/10/26 13:39:21 1.28 +++ xine_decoder.c 2001/10/26 15:10:54 1.29 @@ -457,8 +457,13 @@ if (buf->PTS) { metronom_t *metronom = this->ovl_src.metronom; uint32_t vpts = metronom->got_spu_packet(metronom, buf->PTS, 0); - if (vpts < this->buf_pts) - spudec_reset(this); + if (vpts < this->buf_pts) { + /* FIXME: Don't do this yet, + because it will cause all sorts of + problems with malloc. + */ + /* spudec_reset(this); */ + } this->spu_stream_state[stream_id].vpts = vpts; /* Show timer */ this->spu_stream_state[stream_id].pts = buf->PTS; /* Required to match up with NAV packets */ |