diff options
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 6a6101692c..e3258a39ff 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -295,11 +295,17 @@ struct vo_driver { const void *priv_defaults; // List of options to parse into priv struct (requires priv_size to be set) + // Deprecated. Use global options or global_opts instead. const struct m_option *options; // Global options to register if the VO is compiled in. // mp_get_config_group() or other function can be used to access them. const struct m_sub_options *global_opts; + + // Evil hack: add .options as global options, using the provided prefix. + // For further evilness, the options will be copied to the priv struct + // like with normal .options behavior. + const char *legacy_prefix; }; struct vo { |