summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-08-13 23:24:46 +0200
committerwm4 <wm4@nowhere>2014-09-13 02:03:09 +0200
commit1273febc447c1a069f52d6049d1f8a82a2666ac1 (patch)
treebfee2eea141c2ece9ca84038b8521a47dd338198 /options/m_option.h
parentb5d253a5cb8c7759eacc708df1bfeac33b6f5c87 (diff)
downloadmpv-1273febc447c1a069f52d6049d1f8a82a2666ac1.tar.bz2
mpv-1273febc447c1a069f52d6049d1f8a82a2666ac1.tar.xz
options: add M_OPT_FILE flag to mark options that want a file(list)
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/m_option.h b/options/m_option.h
index d7541a5c73..39842f2633 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -357,6 +357,9 @@ struct m_option {
// See M_OPT_TYPE_OPTIONAL_PARAM.
#define M_OPT_OPTIONAL_PARAM (1 << 10)
+// The option expects a file name (or a list of file names)
+#define M_OPT_FILE (1 << 11)
+
// These are kept for compatibility with older code.
#define CONF_MIN M_OPT_MIN
#define CONF_MAX M_OPT_MAX