Mercurial > mplayer.hg
comparison libmpcodecs/vf_pp7.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 | 7e4f5f62703d |
comparison
equal
deleted
inserted
replaced
17905:433494f162a9 | 17906:20aca9baf5d8 |
---|---|
367 mpi->stride[2]=vf->dmpi->stride[2]; | 367 mpi->stride[2]=vf->dmpi->stride[2]; |
368 } | 368 } |
369 mpi->flags|=MP_IMGFLAG_DIRECT; | 369 mpi->flags|=MP_IMGFLAG_DIRECT; |
370 } | 370 } |
371 | 371 |
372 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ | 372 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){ |
373 mp_image_t *dmpi; | 373 mp_image_t *dmpi; |
374 | 374 |
375 if(mpi->flags&MP_IMGFLAG_DIRECT){ | 375 if(mpi->flags&MP_IMGFLAG_DIRECT){ |
376 dmpi=vf->dmpi; | 376 dmpi=vf->dmpi; |
377 }else{ | 377 }else{ |
399 #endif | 399 #endif |
400 #ifdef HAVE_MMX2 | 400 #ifdef HAVE_MMX2 |
401 if(gCpuCaps.hasMMX2) asm volatile ("sfence\n\t"); | 401 if(gCpuCaps.hasMMX2) asm volatile ("sfence\n\t"); |
402 #endif | 402 #endif |
403 | 403 |
404 return vf_next_put_image(vf,dmpi); | 404 return vf_next_put_image(vf,dmpi, pts); |
405 } | 405 } |
406 | 406 |
407 static void uninit(struct vf_instance_s* vf){ | 407 static void uninit(struct vf_instance_s* vf){ |
408 if(!vf->priv) return; | 408 if(!vf->priv) return; |
409 | 409 |