# HG changeset patch # User reimar # Date 1096661301 0 # Node ID b6e85e7ec3a66745cf4107aa2598bc8b8c67c768 # Parent 5f4f9de738b2eb6a0b89033e7c05a0dcaea6e288 mpi->w and h are set by vf_get_image, do not overwrite them. diff -r 5f4f9de738b2 -r b6e85e7ec3a6 libmpcodecs/vd.c --- a/libmpcodecs/vd.c Fri Oct 01 19:51:03 2004 +0000 +++ b/libmpcodecs/vd.c Fri Oct 01 20:08:21 2004 +0000 @@ -339,8 +339,6 @@ mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h){ mp_image_t* mpi=vf_get_image(sh->vfilter,sh->codec->outfmt[sh->outfmtidx],mp_imgtype,mp_imgflag,w,h); mpi->x=mpi->y=0; - mpi->w=sh->disp_w; - mpi->h=sh->disp_h; return mpi; }