comparison libmpcodecs/vf_il.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 401b440a6d76
children a124f3abc1ec
comparison
equal deleted inserted replaced
17905:433494f162a9 17906:20aca9baf5d8
75 } 75 }
76 break; 76 break;
77 } 77 }
78 } 78 }
79 79
80 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ 80 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){
81 int w; 81 int w;
82 FilterParam *luma = &vf->priv->lumaParam; 82 FilterParam *luma = &vf->priv->lumaParam;
83 FilterParam *chroma= &vf->priv->chromaParam; 83 FilterParam *chroma= &vf->priv->chromaParam;
84 84
85 mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt, 85 mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
102 dmpi->stride[1], mpi->stride[1], chroma->interleave, luma->swap); 102 dmpi->stride[1], mpi->stride[1], chroma->interleave, luma->swap);
103 interleave(dmpi->planes[2], mpi->planes[2], cw,ch, 103 interleave(dmpi->planes[2], mpi->planes[2], cw,ch,
104 dmpi->stride[2], mpi->stride[2], chroma->interleave, luma->swap); 104 dmpi->stride[2], mpi->stride[2], chroma->interleave, luma->swap);
105 } 105 }
106 106
107 return vf_next_put_image(vf,dmpi); 107 return vf_next_put_image(vf,dmpi, pts);
108 } 108 }
109 109
110 //===========================================================================// 110 //===========================================================================//
111 111
112 static void parse(FilterParam *fp, char* args){ 112 static void parse(FilterParam *fp, char* args){