Mercurial > mplayer.hg
changeset 13521:b6e85e7ec3a6
mpi->w and h are set by vf_get_image, do not overwrite them.
author | reimar |
---|---|
date | Fri, 01 Oct 2004 20:08:21 +0000 |
parents | 5f4f9de738b2 |
children | 52a3cb66fb7a |
files | libmpcodecs/vd.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; }