diff options
author | wm4 <wm4@nowhere> | 2013-05-21 00:45:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-21 00:45:42 +0200 |
commit | 1dff26730aeb915fae99dc7eb38c864af41f70c9 (patch) | |
tree | 6e17a0fb3c851a048c4dc27de304a3f26ed838b6 /video/decode/vd.c | |
parent | 644131fdb4e152d6984acc42dacd01a99b6fc54d (diff) | |
download | mpv-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.c | 2 |
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); } |