Index: spudec.c =================================================================== RCS file: /cvsroot/mplayer/main/spudec.c,v retrieving revision 1.43 diff -u -r1.43 spudec.c --- spudec.c 4 Oct 2003 17:28:30 -0000 1.43 +++ spudec.c 7 Dec 2003 15:36:32 -0000 @@ -373,7 +373,7 @@ /* Menu ID, 1 byte */ mp_msg(MSGT_SPUDEC,MSGL_DBG2,"Menu ID\n"); /* shouldn't a Menu ID type force display start? */ - start_pts = pts100 + date; + start_pts = pts100 + ((100 * date)/90000); end_pts = UINT_MAX; display = 1; this->is_forced_sub=~0; // current subtitle is forced @@ -381,7 +381,7 @@ case 0x01: /* Start display */ mp_msg(MSGT_SPUDEC,MSGL_DBG2,"Start display!\n"); - start_pts = pts100 + date; + start_pts = pts100 + ((100 * date)/90000); end_pts = UINT_MAX; display = 1; this->is_forced_sub=0; @@ -389,7 +389,7 @@ case 0x02: /* Stop display */ mp_msg(MSGT_SPUDEC,MSGL_DBG2,"Stop display!\n"); - end_pts = pts100 + date; + end_pts = pts100 + ((100 * date)/90000); break; case 0x03: /* Palette */