comparison libmpcodecs/vf_expand.c @ 5671:a8693d8d3e9d

IMGTYPE_IPB not yet supported :(
author arpi
date Wed, 17 Apr 2002 22:19:14 +0000
parents 391931fa79a6
children f19dff1456ed
comparison
equal deleted inserted replaced
5670:bf171d329546 5671:a8693d8d3e9d
162 // codec --DR--> expand -copy-> vo 162 // codec --DR--> expand -copy-> vo
163 // codec -copy-> expand --DR--> vo 163 // codec -copy-> expand --DR--> vo
164 // codec -copy-> expand -copy-> vo (worst case) 164 // codec -copy-> expand -copy-> vo (worst case)
165 165
166 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){ 166 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
167 if(mpi->type==MP_IMGTYPE_IPB) return; // not yet working
167 #ifdef OSD_SUPPORT 168 #ifdef OSD_SUPPORT
168 if(vf->priv->osd && (mpi->flags&MP_IMGFLAG_PRESERVE)){ 169 if(vf->priv->osd && (mpi->flags&MP_IMGFLAG_PRESERVE)){
169 // check if we have to render osd! 170 // check if we have to render osd!
170 vo_update_osd(vf->priv->exp_w, vf->priv->exp_h); 171 vo_update_osd(vf->priv->exp_w, vf->priv->exp_h);
171 if(vo_osd_check_range_update(vf->priv->exp_x,vf->priv->exp_y, 172 if(vo_osd_check_range_update(vf->priv->exp_x,vf->priv->exp_y,