Mercurial > mplayer.hg
diff mplayer.c @ 5463:c0b6da33d48f
Add '-subdelay' support for vobsub.
author | kmkaplan |
---|---|
date | Tue, 02 Apr 2002 02:32:54 +0000 |
parents | 3aec1d7ce8ba |
children | 3f183ca22747 |
line wrap: on
line diff
--- a/mplayer.c Mon Apr 01 19:14:14 2002 +0000 +++ b/mplayer.c Tue Apr 02 02:32:54 2002 +0000 @@ -2675,7 +2675,8 @@ // 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);