summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2001-10-26 15:10:54 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2001-10-26 15:10:54 +0000
commit12f72e4a8309c5dcb145d44e9d54252b2006049a (patch)
tree33a34a746704d403c855e69e830b2543fbc118f4
parentc814fdafd7186628865080e51217d783be892177 (diff)
downloadxine-lib-12f72e4a8309c5dcb145d44e9d54252b2006049a.tar.gz
xine-lib-12f72e4a8309c5dcb145d44e9d54252b2006049a.tar.bz2
Inserted a FIXME.
CVS patchset: 888 CVS date: 2001/10/26 15:10:54
-rw-r--r--src/libspudec/xine_decoder.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c
index 15a439523..231b78841 100644
--- a/src/libspudec/xine_decoder.c
+++ b/src/libspudec/xine_decoder.c
@@ -19,7 +19,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: xine_decoder.c,v 1.28 2001/10/26 13:39:21 jcdutton Exp $
+ * $Id: xine_decoder.c,v 1.29 2001/10/26 15:10:54 jcdutton Exp $
*
* stuff needed to turn libspu into a xine decoder plugin
*/
@@ -457,8 +457,13 @@ void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) {
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 */