summaryrefslogtreecommitdiffstats
path: root/video/decode/vd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-21 00:45:42 +0200
committerwm4 <wm4@nowhere>2013-05-21 00:45:42 +0200
commit1dff26730aeb915fae99dc7eb38c864af41f70c9 (patch)
tree6e17a0fb3c851a048c4dc27de304a3f26ed838b6 /video/decode/vd.c
parent644131fdb4e152d6984acc42dacd01a99b6fc54d (diff)
downloadmpv-1dff26730aeb915fae99dc7eb38c864af41f70c9.tar.bz2
mpv-1dff26730aeb915fae99dc7eb38c864af41f70c9.tar.xz
dec_video: get rid of two global variables
Diffstat (limited to 'video/decode/vd.c')
-rw-r--r--video/decode/vd.c2
1 files changed, 1 insertions, 1 deletions
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);
}