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:
kmkaplan 2002-04-02 02:32:54 +00:00
parent b168261f10
commit 8c477a8825
1 changed files with 2 additions and 1 deletions

View File

@ -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);