Mercurial > mplayer.hg
comparison libmpcodecs/dec_video.c @ 17906:20aca9baf5d8
passing pts through the filter layer (lets see if pts or cola comes out at the end)
author | michael |
---|---|
date | Tue, 21 Mar 2006 21:26:42 +0000 |
parents | f580a7755ac5 |
children | 5ae29dc47c17 |
comparison
equal
deleted
inserted
replaced
17905:433494f162a9 | 17906:20aca9baf5d8 |
---|---|
334 | 334 |
335 if(!mpi || drop_frame) return 0; // error / skipped frame | 335 if(!mpi || drop_frame) return 0; // error / skipped frame |
336 | 336 |
337 //vo_draw_image(video_out,mpi); | 337 //vo_draw_image(video_out,mpi); |
338 vf=sh_video->vfilter; | 338 vf=sh_video->vfilter; |
339 ret = vf->put_image(vf,mpi); // apply video filters and call the leaf vo/ve | 339 ret = vf->put_image(vf,mpi, MP_NOPTS_VALUE); // apply video filters and call the leaf vo/ve |
340 if(ret>0) vf->control(vf,VFCTRL_DRAW_OSD,NULL); | 340 if(ret>0) vf->control(vf,VFCTRL_DRAW_OSD,NULL); |
341 | 341 |
342 t2=GetTimer()-t2; | 342 t2=GetTimer()-t2; |
343 tt=t2*0.000001f; | 343 tt=t2*0.000001f; |
344 vout_time_usage+=tt; | 344 vout_time_usage+=tt; |