changeset 11331:7edd5436337d

Do not display VobSubs whose timecodes are < 0 which would make all VobSubs appear from the start on upon seeking. Patch by "Reder, Uwe" <Uwe.Reder@3SOFT.de>.
author mosu
date Thu, 30 Oct 2003 15:02:16 +0000
parents a974c00c779d
children 62020e28e45b
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Oct 30 14:57:06 2003 +0000
+++ b/mplayer.c	Thu Oct 30 15:02:16 2003 +0000
@@ -3639,7 +3639,7 @@
     }
       if(len<=0 || !packet) break;
       if(timestamp < 0) timestamp = 0;
-      spudec_assemble(vo_spudec,packet,len,timestamp);
+      else spudec_assemble(vo_spudec,packet,len,timestamp);
   }
   
   /* detect wether the sub has changed or not */