Mercurial > mplayer.hg
comparison libmpcodecs/vf_1bpp.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 |
---|---|
103 break; } | 103 break; } |
104 } | 104 } |
105 } | 105 } |
106 } | 106 } |
107 | 107 |
108 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ | 108 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){ |
109 mp_image_t *dmpi; | 109 mp_image_t *dmpi; |
110 | 110 |
111 // hope we'll get DR buffer: | 111 // hope we'll get DR buffer: |
112 dmpi=vf_get_image(vf->next,vf->priv->fmt, | 112 dmpi=vf_get_image(vf->next,vf->priv->fmt, |
113 MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, | 113 MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, |
149 default: | 149 default: |
150 mp_msg(MSGT_VFILTER,MSGL_ERR,"Unhandled format: 0x%X\n",dmpi->imgfmt); | 150 mp_msg(MSGT_VFILTER,MSGL_ERR,"Unhandled format: 0x%X\n",dmpi->imgfmt); |
151 return 0; | 151 return 0; |
152 } | 152 } |
153 | 153 |
154 return vf_next_put_image(vf,dmpi); | 154 return vf_next_put_image(vf,dmpi, pts); |
155 } | 155 } |
156 | 156 |
157 //===========================================================================// | 157 //===========================================================================// |
158 | 158 |
159 static int query_format(struct vf_instance_s* vf, unsigned int fmt){ | 159 static int query_format(struct vf_instance_s* vf, unsigned int fmt){ |