diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-14 21:57:03 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-14 21:57:03 +0000 |
commit | 920f3f2f7e7c31ae9a00e03892225077bcdd9fdd (patch) | |
tree | 6623085c9c4cba5408b545b4564b2acdb2f55f90 /libmpcodecs | |
parent | ef5ee5c568203f55dc1822bb3a87f0fa122e6fa2 (diff) |
dont depend upon vo_directrendering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6736 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 4 |
1 files changed, 1 insertions, 3 deletions
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)); |