[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.27,1.28

Michael Niedermayer michael at mplayerhq.hu
Sun Jul 14 23:57:06 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv3036

Modified Files:
	vd_ffmpeg.c 
Log Message:
dont depend upon vo_directrendering


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- vd_ffmpeg.c	14 Jul 2002 21:30:54 -0000	1.27
+++ vd_ffmpeg.c	14 Jul 2002 21:57:03 -0000	1.28
@@ -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));




More information about the MPlayer-cvslog mailing list