summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/m_config.h')
-rw-r--r--mpvcore/m_config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/mpvcore/m_config.h b/mpvcore/m_config.h
index f16d1ea7fe..c5d1d35e49 100644
--- a/mpvcore/m_config.h
+++ b/mpvcore/m_config.h
@@ -43,6 +43,7 @@ struct m_config_option {
const struct m_option *opt;
// Raw value of the option.
void *data;
+ const void *default_data;
};
// Config object
@@ -65,7 +66,6 @@ typedef struct m_config {
const void *optstruct_defaults;
size_t optstruct_size;
const struct m_option *options; // top-level options
- const char *suboptinit;
void *optstruct; // struct mpopts or other
} m_config_t;
@@ -81,8 +81,7 @@ typedef struct m_config {
// Note that the m_config object will keep pointers to defaults and options.
struct m_config *m_config_new(void *talloc_parent, size_t size,
const void *defaults,
- const struct m_option *options,
- const char *suboptinit);
+ const struct m_option *options);
struct m_config *m_config_from_obj_desc(void *talloc_parent,
struct m_obj_desc *desc);