Mercurial > mplayer.hg
diff libmpcodecs/dec_video.c @ 19521:0be2d3583f4f
Add VFCTRL_DRAW_EOSD.
| author | eugeni |
|---|---|
| date | Thu, 24 Aug 2006 22:10:43 +0000 |
| parents | 39d8fd7e7543 |
| children | bfb6eacd9c4a |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Thu Aug 24 17:21:03 2006 +0000 +++ b/libmpcodecs/dec_video.c Thu Aug 24 22:10:43 2006 +0000 @@ -383,7 +383,12 @@ //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;
