From 920f3f2f7e7c31ae9a00e03892225077bcdd9fdd Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 14 Jul 2002 21:57:03 +0000 Subject: dont depend upon vo_directrendering git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6736 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 42db811c16..17311112bc 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -57,8 +57,6 @@ typedef struct { #include "cfgparser.h" -extern int vo_directrendering; - static int lavc_param_workaround_bugs=0; static int lavc_param_error_resilience=0; static int lavc_param_gray=0; @@ -117,7 +115,7 @@ static int init(sh_video_t *sh){ if(vd_use_slices && lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) ctx->do_slices=1; - if(vo_directrendering && lavc_codec->capabilities&CODEC_CAP_DR1) + if(lavc_codec->capabilities&CODEC_CAP_DR1) ctx->do_dr1=1; ctx->avctx = malloc(sizeof(AVCodecContext)); -- cgit v1.2.3