summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2017-03-05 16:47:36 -0500
committerwm4 <wm4@nowhere>2017-03-06 15:41:06 +0100
commita2a5fa454565e7e7ca11721ec9d1935a9fccf168 (patch)
tree34345f559f7ec858e2178893f5024e7bb87339a3 /video/filter
parent1245ac1dc527e10c57b40f9c82c652a68904c86e (diff)
downloadmpv-a2a5fa454565e7e7ca11721ec9d1935a9fccf168.tar.bz2
mpv-a2a5fa454565e7e7ca11721ec9d1935a9fccf168.tar.xz
options: add M_OPT_FILE to some more file options
(Helps shell completion.)
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_vapoursynth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c
index 625d539dc4..33a586c024 100644
--- a/video/filter/vf_vapoursynth.c
+++ b/video/filter/vf_vapoursynth.c
@@ -736,7 +736,7 @@ static int vf_open(vf_instance_t *vf)
#define OPT_BASE_STRUCT struct vf_priv_s
static const m_option_t vf_opts_fields[] = {
- OPT_STRING("file", cfg_file, 0),
+ OPT_STRING("file", cfg_file, M_OPT_FILE),
OPT_INTRANGE("buffered-frames", cfg_maxbuffer, 0, 1, 9999, OPTDEF_INT(4)),
OPT_CHOICE_OR_INT("concurrent-frames", cfg_maxrequests, 0, 1, 99,
({"auto", -1}), OPTDEF_INT(-1)),