[Mplayer-cvslog] CVS: main/libmpcodecs vd_vfw.c,1.6,1.7
Arpi of Ize
arpi at mplayerhq.hu
Fri May 17 01:24:50 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv22988
Modified Files:
vd_vfw.c
Log Message:
iive is right - we shouldn't use IP buffering for vfw. it was changed
to test DR support but i forgot to remove that later :( 10l is mine...
Index: vd_vfw.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_vfw.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vd_vfw.c 21 Apr 2002 16:32:35 -0000 1.6
+++ vd_vfw.c 16 May 2002 23:24:47 -0000 1.7
@@ -71,7 +71,9 @@
int ret;
if(len<=0) return NULL; // skipped frame
- mpi=mpcodecs_get_image(sh, MP_IMGTYPE_IP, MP_IMGFLAG_ACCEPT_WIDTH,
+ mpi=mpcodecs_get_image(sh,
+ (sh->codec->outflags[sh->outfmtidx] & CODECS_FLAG_STATIC) ?
+ MP_IMGTYPE_STATIC : MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_WIDTH,
sh->disp_w, sh->disp_h);
if(!mpi){ // temporary!
printf("couldn't allocate image for cinepak codec\n");
More information about the MPlayer-cvslog
mailing list