From 2ddfdc85b3f48f419896e475e93cc096131f87d1 Mon Sep 17 00:00:00 2001 From: eugeni Date: Thu, 24 Aug 2006 22:10:43 +0000 Subject: Add VFCTRL_DRAW_EOSD. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19527 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/dec_video.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libmpcodecs/dec_video.c') diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 89c2b52de4..be152f85fc 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -383,7 +383,12 @@ if(!mpi || drop_frame) return 0; // error / skipped frame //vo_draw_image(video_out,mpi); vf=sh_video->vfilter; ret = vf->put_image(vf,mpi, pts); // apply video filters and call the leaf vo/ve -if(ret>0) vf->control(vf,VFCTRL_DRAW_OSD,NULL); +if(ret>0) { + vf->control(vf,VFCTRL_DRAW_OSD,NULL); +#ifdef USE_ASS + vf->control(vf,VFCTRL_DRAW_EOSD,NULL); +#endif +} t2=GetTimer()-t2; tt=t2*0.000001f; -- cgit v1.2.3