diff mplayer.c @ 6204:1ba75212f7ef

Little fix for vobsub/dvd subtitles
author albeu
date Mon, 27 May 2002 16:40:10 +0000
parents bd6748605681
children e46b3bf16df5
line wrap: on
line diff
--- a/mplayer.c	Mon May 27 15:45:02 2002 +0000
+++ b/mplayer.c	Mon May 27 16:40:10 2002 +0000
@@ -2957,6 +2957,7 @@
   current_module="spudec";
   spudec_heartbeat(vo_spudec,90000*sh_video->timer);
   while(get_sub_packet()>0 && packet){
+      if(timestamp < 0) timestamp = 0;
       spudec_assemble(vo_spudec,packet,len,timestamp);
   }