mirror of https://github.com/mpv-player/mpv
Add '-subdelay' support for vobsub.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5464 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b168261f10
commit
8c477a8825
|
@ -2675,7 +2675,8 @@ if(rel_seek_secs || abs_seek_pos){
|
|||
// VobSub subtitles
|
||||
if(vo_vobsub){
|
||||
current_module="vobsub";
|
||||
vobsub_process(vo_vobsub,d_video->pts);
|
||||
if(d_video->pts+sub_delay>=0)
|
||||
vobsub_process(vo_vobsub,d_video->pts+sub_delay);
|
||||
|
||||
/* Don't know how to detect wether the sub has changed or not */
|
||||
vo_osd_changed(1);
|
||||
|
|
Loading…
Reference in New Issue