changeset 15761:f2e5268acebb

Fix some subtitles that didn't show. Sample: http://mplayerhq.hu/MPlayer/samples/sub/starwarssub2.vob
author reimar
date Sun, 19 Jun 2005 13:50:50 +0000
parents 5dcc5524cb68
children a418d6768d18
files spudec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);