summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2015-03-07 14:41:32 -0500
committerwm4 <wm4@nowhere>2015-03-07 22:19:38 +0100
commit6172e843cd7313ea1c2cef9c75b0ce52449ecedb (patch)
treebd7c834e9ccb9ba1b4f3a5653731d68ef40b5354 /stream
parent89db92398e1d80acf6566ec3c9e6a0842101fba3 (diff)
downloadmpv-6172e843cd7313ea1c2cef9c75b0ce52449ecedb.tar.bz2
mpv-6172e843cd7313ea1c2cef9c75b0ce52449ecedb.tar.xz
options: add M_OPT_FILE to new options that are missing it
Fixes shell completion.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 3144f95676..0510143b48 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -73,7 +73,7 @@ const struct m_sub_options stream_dvb_conf = {
OPT_STRING("prog", cfg_prog, 0),
OPT_INTRANGE("card", cfg_card, 0, 1, 4),
OPT_INTRANGE("timeout", cfg_timeout, 0, 1, 30),
- OPT_STRING("file", cfg_file, 0),
+ OPT_STRING("file", cfg_file, M_OPT_FILE),
OPT_FLAG("full-transponder", cfg_full_transponder, 0),
{0}
},