Mercurial > mplayer.hg
comparison mplayer.c @ 10718:e3727e92e9d8
1000l
author | alex |
---|---|
date | Fri, 29 Aug 2003 21:42:51 +0000 |
parents | a57e8d980652 |
children | bbdaa93c469e |
comparison
equal
deleted
inserted
replaced
10717:3cf6b963d08b | 10718:e3727e92e9d8 |
---|---|
3570 if(sh_video->pts+sub_delay>=0) { | 3570 if(sh_video->pts+sub_delay>=0) { |
3571 // The + next_frame_time is there because we'll display the sub at the next frame | 3571 // The + next_frame_time is there because we'll display the sub at the next frame |
3572 len = vobsub_get_packet(vo_vobsub,sh_video->pts+sub_delay+next_frame_time,(void**)&packet,×tamp); | 3572 len = vobsub_get_packet(vo_vobsub,sh_video->pts+sub_delay+next_frame_time,(void**)&packet,×tamp); |
3573 if(len > 0) { | 3573 if(len > 0) { |
3574 timestamp -= (sh_video->pts + sub_delay - sh_video->timer)*90000; | 3574 timestamp -= (sh_video->pts + sub_delay - sh_video->timer)*90000; |
3575 mp_dbg(MSGT_CPLAYER,MSGL_V,"\rVOB sub: len=%d v_pts=%5.3f v_timer=%5.3f sub=%5.3f ts=%d \n",len,sh_video->pts,sh_video->timer,timestamp / 90000.0); | 3575 mp_dbg(MSGT_CPLAYER,MSGL_V,"\rVOB sub: len=%d v_pts=%5.3f v_timer=%5.3f sub=%5.3f ts=%d \n",len,sh_video->pts,sh_video->timer,timestamp / 90000.0,timestamp); |
3576 } | 3576 } |
3577 } | 3577 } |
3578 } else { | 3578 } else { |
3579 // DVD sub | 3579 // DVD sub |
3580 len = ds_get_packet_sub(d_dvdsub,(unsigned char**)&packet); | 3580 len = ds_get_packet_sub(d_dvdsub,(unsigned char**)&packet); |