From f4c652c0893d344d147f4e86239e6a78e92fc857 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 1 Oct 2004 20:08:21 +0000 Subject: mpi->w and h are set by vf_get_image, do not overwrite them. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13522 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 19bb49e7e4..edfced6deb 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -339,8 +339,6 @@ csp_again: 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; } -- cgit v1.2.3