changeset 6735:847781af99a4

dont depend upon vo_directrendering
author michael
date Sun, 14 Jul 2002 21:57:03 +0000
parents e614de962b6e
children eccd31a0584f
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Jul 14 21:30:54 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Jul 14 21:57:03 2002 +0000
@@ -57,8 +57,6 @@
 
 #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 @@
     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));