# HG changeset patch # User reimar # Date 1119189050 0 # Node ID f2e5268acebb3f80f45d6439f0c644d59ed11966 # Parent 5dcc5524cb6806b45a67fc863c421dad77c0a5ae Fix some subtitles that didn't show. Sample: http://mplayerhq.hu/MPlayer/samples/sub/starwarssub2.vob diff -r 5dcc5524cb68 -r f2e5268acebb spudec.c --- a/spudec.c Sun Jun 19 12:42:36 2005 +0000 +++ b/spudec.c Sun Jun 19 13:50:50 2005 +0000 @@ -503,10 +503,12 @@ mp_msg(MSGT_SPUDEC,MSGL_WARN,"SPUasm: packet too short\n"); return; } +#if 0 if ((spu->packet_pts + 10000) < pts100) { // [cb] too long since last fragment: force new packet spu->packet_offset = 0; } +#endif spu->packet_pts = pts100; if (spu->packet_offset == 0) { unsigned int len2 = get_be16(packet);