summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/dec_video.c2
-rw-r--r--libmpcodecs/vd.c4
2 files changed, 3 insertions, 3 deletions
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!