From 6403904ae9ffc67aa04da131c514c84e67a1f5df Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 20 Mar 2002 15:39:08 +0000 Subject: using -dr instead -vaa_dr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5225 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/dec_video.c | 2 +- libmpcodecs/vd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 93aac4d9c2..48b622c2fe 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -148,7 +148,7 @@ int init_video(sh_video_t *sh_video,char* codecname,int vfm,int status){ return 0; } -extern int vaa_use_dr; +extern int vo_directrendering; int decode_video(vo_functions_t *video_out,sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame){ mp_image_t *mpi=NULL; diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 4b41b9c713..65e94999e2 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -88,7 +88,7 @@ vd_functions_t* mpcodecs_vd_drivers[] = { }; #include "libvo/video_out.h" -extern int vaa_use_dr; +extern int vo_directrendering; // libvo opts: int fullscreen=0; @@ -286,7 +286,7 @@ mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, i // check libvo first! vo_functions_t* vo=sh->video_out; - if(vo && vaa_use_dr) vo->control(VOCTRL_GET_IMAGE,mpi); + if(vo && vo_directrendering) vo->control(VOCTRL_GET_IMAGE,mpi); if(!(mpi->flags&MP_IMGFLAG_DIRECT)){ // non-direct and not yet allocaed image. allocate it! -- cgit v1.2.3