summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-07 13:02:35 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-07 13:02:35 +0000
commit6e12a26f065c15ef5597610f54b35347d46d92b5 (patch)
treefc1a83ae673cd42d07a905a5989ca53ef9a95fe4 /libvo/mga_common.c
parentd751518e07385c327359fd1ee6d2a6c7c21e5a5a (diff)
downloadmpv-6e12a26f065c15ef5597610f54b35347d46d92b5.tar.bz2
mpv-6e12a26f065c15ef5597610f54b35347d46d92b5.tar.xz
accept STATIC buffers if num_buffers==1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4976 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index f0fcfe7523..89f779ec62 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -189,7 +189,7 @@ get_image(mp_image_t *mpi){
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) ||