[Mplayer-cvslog] CVS: main/libmpcodecs vd.c,1.10,1.11
Arpi of Ize
arpi at mplayer.dev.hu
Thu Mar 7 14:09:12 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv25856
Modified Files:
vd.c
Log Message:
direct rendering can be disabled -vaa_nodr
Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- vd.c 7 Mar 2002 02:44:16 -0000 1.10
+++ vd.c 7 Mar 2002 13:09:10 -0000 1.11
@@ -63,6 +63,7 @@
};
#include "libvo/video_out.h"
+extern int vaa_use_dr;
int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt){
@@ -127,7 +128,7 @@
// check libvo first!
vo_functions_t* vo=sh->video_out;
- if(vo) vo->control(VOCTRL_GET_IMAGE,mpi);
+ if(vo && vaa_use_dr) vo->control(VOCTRL_GET_IMAGE,mpi);
if(!(mpi->flags&MP_IMGFLAG_DIRECT)){
// non-direct and not yet allocaed image. allocate it!
More information about the MPlayer-cvslog
mailing list