Mercurial > mplayer.hg
diff libmpcodecs/dec_video.c @ 5643:3d9de27d9bd0
OSD handled by vf control()
author | arpi |
---|---|
date | Mon, 15 Apr 2002 22:41:28 +0000 |
parents | 868c13f78f08 |
children | de47aebf654c |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Mon Apr 15 22:08:50 2002 +0000 +++ b/libmpcodecs/dec_video.c Mon Apr 15 22:41:28 2002 +0000 @@ -194,16 +194,15 @@ } #endif -if(!mpi) return 0; // error / skipped frame - t2=GetTimer();t=t2-t; tt = t*0.000001f; video_time_usage+=tt; -if(drop_frame) return 0; +if(!mpi || drop_frame) return 0; // error / skipped frame //vo_draw_image(video_out,mpi); vf->put_image(vf,mpi); +vf->control(vf,VFCTRL_DRAW_OSD,NULL); t2=GetTimer()-t2; tt=t2*0.000001f;