Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
5642:eb0cb6185e6c | 5643:3d9de27d9bd0 |
---|---|
192 else if(gCpuCaps.hasMMX){ | 192 else if(gCpuCaps.hasMMX){ |
193 __asm __volatile ("emms\n\t":::"memory"); | 193 __asm __volatile ("emms\n\t":::"memory"); |
194 } | 194 } |
195 #endif | 195 #endif |
196 | 196 |
197 if(!mpi) return 0; // error / skipped frame | |
198 | |
199 t2=GetTimer();t=t2-t; | 197 t2=GetTimer();t=t2-t; |
200 tt = t*0.000001f; | 198 tt = t*0.000001f; |
201 video_time_usage+=tt; | 199 video_time_usage+=tt; |
202 | 200 |
203 if(drop_frame) return 0; | 201 if(!mpi || drop_frame) return 0; // error / skipped frame |
204 | 202 |
205 //vo_draw_image(video_out,mpi); | 203 //vo_draw_image(video_out,mpi); |
206 vf->put_image(vf,mpi); | 204 vf->put_image(vf,mpi); |
205 vf->control(vf,VFCTRL_DRAW_OSD,NULL); | |
207 | 206 |
208 t2=GetTimer()-t2; | 207 t2=GetTimer()-t2; |
209 tt=t2*0.000001f; | 208 tt=t2*0.000001f; |
210 vout_time_usage+=tt; | 209 vout_time_usage+=tt; |
211 blit_frame=1; | 210 blit_frame=1; |