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>.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11332 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2003-10-30 15:02:16 +00:00
parent 1c641db8c0
commit d5658320c1
1 changed files with 1 additions and 1 deletions

View File

@ -3639,7 +3639,7 @@ if(vo_config_count && vo_spudec) {
}
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 */