[Mplayer-cvslog] CVS: main/libmpcodecs vd.c,1.78,1.79
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Fri Oct 1 22:08:24 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv10960/libmpcodecs
Modified Files:
vd.c
Log Message:
mpi->w and h are set by vf_get_image, do not overwrite them.
Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- vd.c 15 Sep 2004 11:26:45 -0000 1.78
+++ vd.c 1 Oct 2004 20:08:21 -0000 1.79
@@ -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;
}
More information about the MPlayer-cvslog
mailing list