mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Little fix for vobsub/dvd subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6205 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e9e10be568
commit
deb917e8fc
@ -2957,6 +2957,7 @@ if(vo_config_count && vo_spudec) {
|
|||||||
current_module="spudec";
|
current_module="spudec";
|
||||||
spudec_heartbeat(vo_spudec,90000*sh_video->timer);
|
spudec_heartbeat(vo_spudec,90000*sh_video->timer);
|
||||||
while(get_sub_packet()>0 && packet){
|
while(get_sub_packet()>0 && packet){
|
||||||
|
if(timestamp < 0) timestamp = 0;
|
||||||
spudec_assemble(vo_spudec,packet,len,timestamp);
|
spudec_assemble(vo_spudec,packet,len,timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user