Mercurial > mplayer.hg
comparison libmpcodecs/vf_expand.c @ 5878:4c3956729446
1000l
author | arpi |
---|---|
date | Sun, 28 Apr 2002 01:02:02 +0000 |
parents | f19dff1456ed |
children | 20ccb89222bc |
comparison
equal
deleted
inserted
replaced
5877:93de400ad48e | 5878:4c3956729446 |
---|---|
196 } | 196 } |
197 } | 197 } |
198 | 198 |
199 static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){ | 199 static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){ |
200 if(mpi->flags&MP_IMGFLAG_DIRECT){ | 200 if(mpi->flags&MP_IMGFLAG_DIRECT){ |
201 #ifdef OSD_SUPPORT | |
202 if(vf->priv->osd) draw_osd(vf,mpi->w,mpi->h); | |
203 #endif | |
201 vf_next_put_image(vf,vf->priv->dmpi); | 204 vf_next_put_image(vf,vf->priv->dmpi); |
202 #ifdef OSD_SUPPORT | |
203 if(vf->priv->osd) draw_osd(vf,mpi->w,mpi->h); | |
204 #endif | |
205 return; // we've used DR, so we're ready... | 205 return; // we've used DR, so we're ready... |
206 } | 206 } |
207 | 207 |
208 // hope we'll get DR buffer: | 208 // hope we'll get DR buffer: |
209 vf->priv->dmpi=vf_get_image(vf->next,mpi->imgfmt, | 209 vf->priv->dmpi=vf_get_image(vf->next,mpi->imgfmt, |