diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-17 22:17:32 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-17 22:17:32 +0000 |
commit | 4b19442d56e650e2e6ae2e55a97d96005694f9af (patch) | |
tree | 9a37548d1f0e4f7b4b5c6c08a9d21e56e80a5955 /mencoder.c | |
parent | 51e8f97ef7a90fef7152c2f5c6d11cd010ccfa9e (diff) | |
download | mpv-4b19442d56e650e2e6ae2e55a97d96005694f9af.tar.bz2 mpv-4b19442d56e650e2e6ae2e55a97d96005694f9af.tar.xz |
DVD subs fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5671 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/mencoder.c b/mencoder.c index b96391cde0..7d04733670 100644 --- a/mencoder.c +++ b/mencoder.c @@ -937,19 +937,6 @@ if( (v_pts_corr>=(float)mux_v->h.dwScale/mux_v->h.dwRate && skip_flag<0) } // 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 @@ if(sh_audio && !demuxer2){ spudec_assemble(vo_spudec,packet,len,90000*d_dvdsub->pts); } spudec_heartbeat(vo_spudec,90000*d_video->pts); + vo_osd_changed(OSDTYPE_SPU); } #endif |