Mercurial > mplayer.hg
changeset 5670:bf171d329546
DVD subs fixed
author | arpi |
---|---|
date | Wed, 17 Apr 2002 22:17:32 +0000 |
parents | 391931fa79a6 |
children | a8693d8d3e9d |
files | mencoder.c |
diffstat | 1 files changed, 1 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Wed Apr 17 21:51:18 2002 +0000 +++ b/mencoder.c Wed Apr 17 22:17:32 2002 +0000 @@ -937,19 +937,6 @@ } // demuxer2 -#ifdef USE_DVDREAD -// DVD sub: - if(vo_spudec){ - unsigned char* packet=NULL; - int len; - while((len=ds_get_packet_sub(d_dvdsub,&packet))>0){ - mp_msg(MSGT_MENCODER,MSGL_V,"\rDVD sub: len=%d v_pts=%5.3f s_pts=%5.3f \n",len,d_video->pts,d_dvdsub->pts); - spudec_assemble(vo_spudec,packet,len,90000*d_dvdsub->pts); - } - spudec_heartbeat(vo_spudec,90000*d_video->pts); - } -#endif - ptimer_start = GetTimerMS(); switch(mux_v->codec){ @@ -1098,6 +1085,7 @@ spudec_assemble(vo_spudec,packet,len,90000*d_dvdsub->pts); } spudec_heartbeat(vo_spudec,90000*d_video->pts); + vo_osd_changed(OSDTYPE_SPU); } #endif