summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-20 15:39:08 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-20 15:39:08 +0000
commit6403904ae9ffc67aa04da131c514c84e67a1f5df (patch)
tree74f0ae0f7713dc813c70987638d22f62494f6338 /dec_video.c
parentf8b635b46e398c5f9e9dfe600979a76a65e6ac70 (diff)
downloadmpv-6403904ae9ffc67aa04da131c514c84e67a1f5df.tar.bz2
mpv-6403904ae9ffc67aa04da131c514c84e67a1f5df.tar.xz
using -dr instead -vaa_dr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5225 b3059339-0415-0410-9bf9-f77b7e298cf2
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;