Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6203:94330609dd5b | 6204:1ba75212f7ef |
---|---|
2955 return len; | 2955 return len; |
2956 } | 2956 } |
2957 current_module="spudec"; | 2957 current_module="spudec"; |
2958 spudec_heartbeat(vo_spudec,90000*sh_video->timer); | 2958 spudec_heartbeat(vo_spudec,90000*sh_video->timer); |
2959 while(get_sub_packet()>0 && packet){ | 2959 while(get_sub_packet()>0 && packet){ |
2960 if(timestamp < 0) timestamp = 0; | |
2960 spudec_assemble(vo_spudec,packet,len,timestamp); | 2961 spudec_assemble(vo_spudec,packet,len,timestamp); |
2961 } | 2962 } |
2962 | 2963 |
2963 /* detect wether the sub has changed or not */ | 2964 /* detect wether the sub has changed or not */ |
2964 if(spudec_changed(vo_spudec)) | 2965 if(spudec_changed(vo_spudec)) |