# HG changeset patch # User arpi # Date 1015506155 0 # Node ID 877f0f643fefd39fb46719405fd150afd4022dea # Parent 5da7b1522a9f75a7bad61792648edec3003bf49c accept STATIC buffers if num_buffers==1 diff -r 5da7b1522a9f -r 877f0f643fef libvo/mga_common.c --- a/libvo/mga_common.c Thu Mar 07 11:57:33 2002 +0000 +++ b/libvo/mga_common.c Thu Mar 07 13:02:35 2002 +0000 @@ -189,7 +189,7 @@ uint32_t bespitch = (mga_vid_config.src_width + 31) & ~31; uint32_t bespitch2 = bespitch/2; // printf("mga: get_image() called\n"); - if(mpi->type==MP_IMGTYPE_STATIC) return VO_FALSE; // it is not static + if(mpi->type==MP_IMGTYPE_STATIC && mga_vid_config.num_frames>1) return VO_FALSE; // it is not static if(mpi->flags&MP_IMGFLAG_READABLE) return VO_FALSE; // slow video ram // printf("width=%d vs. bespitch=%d, flags=0x%X \n",mpi->width,bespitch,mpi->flags); if((mpi->width==bespitch) ||