summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dec_video.c b/dec_video.c
index 5f7073f7a7..cd87435e46 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -802,7 +802,7 @@ if ((sh_video->codec->driver == VFM_QTRLE) && (sh_video->bih->biBitCount != 24))
return 1;
}
-extern int vaa_use_dr;
+extern int vo_directrendering;
static int use_dr=0,use_dr_422=0;
static bes_da_t bda;
@@ -813,7 +813,7 @@ void init_video_vaa( unsigned width )
memset(&bda,0,sizeof(bes_da_t));
if(vo_vaa.query_bes_da)
use_dr = vo_vaa.query_bes_da(&bda) ? 0 : 1;
- if(!vaa_use_dr) use_dr = 0;
+ if(!vo_directrendering) use_dr = 0;
if(use_dr)
{
uint32_t sstride,dstride;