From 1dff26730aeb915fae99dc7eb38c864af41f70c9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 21 May 2013 00:45:42 +0200 Subject: dec_video: get rid of two global variables --- video/decode/vd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode/vd.c') diff --git a/video/decode/vd.c b/video/decode/vd.c index 0ca685e2bb..b38d9d43d5 100644 --- a/video/decode/vd.c +++ b/video/decode/vd.c @@ -72,7 +72,7 @@ int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int out_fmt) mp_msg(MSGT_DECVIDEO, MSGL_V, "VDec: vo config request - %d x %d (%s)\n", w, h, vo_format_name(out_fmt)); - if (get_video_quality_max(sh) <= 0 && divx_quality) { + if (get_video_quality_max(sh) <= 0 && opts->divx_quality) { // user wants postprocess but no pp filter yet: sh->vfilter = vf = vf_open_filter(opts, vf, "pp", NULL); } -- cgit v1.2.3