comparison libmpcodecs/vf_mirror.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 6ff3379a0862
children 497ebe3ecc2b
comparison
equal deleted inserted replaced
17905:433494f162a9 17906:20aca9baf5d8
66 } 66 }
67 } 67 }
68 68
69 //===========================================================================// 69 //===========================================================================//
70 70
71 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ 71 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){
72 mp_image_t *dmpi; 72 mp_image_t *dmpi;
73 73
74 // hope we'll get DR buffer: 74 // hope we'll get DR buffer:
75 dmpi=vf_get_image(vf->next,mpi->imgfmt, 75 dmpi=vf_get_image(vf->next,mpi->imgfmt,
76 MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, 76 MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
91 dmpi->stride[0],mpi->stride[0], 91 dmpi->stride[0],mpi->stride[0],
92 dmpi->w,dmpi->h,dmpi->bpp>>3,mpi->imgfmt); 92 dmpi->w,dmpi->h,dmpi->bpp>>3,mpi->imgfmt);
93 dmpi->planes[1]=mpi->planes[1]; // passthrough rgb8 palette 93 dmpi->planes[1]=mpi->planes[1]; // passthrough rgb8 palette
94 } 94 }
95 95
96 return vf_next_put_image(vf,dmpi); 96 return vf_next_put_image(vf,dmpi, pts);
97 } 97 }
98 98
99 //===========================================================================// 99 //===========================================================================//
100 100
101 static int open(vf_instance_t *vf, char* args){ 101 static int open(vf_instance_t *vf, char* args){