1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

dont depend upon vo_directrendering

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6736 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2002-07-14 21:57:03 +00:00
parent ef5ee5c568
commit 920f3f2f7e

View File

@ -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));