changeset 6204:1ba75212f7ef

Little fix for vobsub/dvd subtitles
author albeu
date Mon, 27 May 2002 16:40:10 +0000
parents 94330609dd5b
children b93497af9ddc
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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);
   }