diff options
author | wm4 <wm4@nowhere> | 2020-02-01 16:00:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-01 16:00:44 +0100 |
commit | 66a979bd757f27739158023f44a943a406a59159 (patch) | |
tree | 80ae2625faff74ff89429e9ea75c456466b52115 /options/m_option.h | |
parent | c40554295a2445789d47b8c1c13bb8c28ba86c61 (diff) | |
download | mpv-66a979bd757f27739158023f44a943a406a59159.tar.bz2 mpv-66a979bd757f27739158023f44a943a406a59159.tar.xz |
options: remove unused set_defaults callback
Was only needed for an ancient version of af_lavfrresample, which is
gone now.
Diffstat (limited to 'options/m_option.h')
-rw-r--r-- | options/m_option.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/options/m_option.h b/options/m_option.h index 7d7f9ba5da..a78def276b 100644 --- a/options/m_option.h +++ b/options/m_option.h @@ -128,10 +128,6 @@ struct m_obj_desc { bool hidden; // Callback to print custom help if "vf=entry=help" is passed void (*print_help)(struct mp_log *log); - // Callback that allows you to override the static default values. The - // pointer p points to the struct described by options/priv_size, with - // priv_defaults already applied. You can write to it to set any defaults. - void (*set_defaults)(struct mpv_global *global, void *p); // Set by m_obj_list_find(). If the requested name is an old alias, this // is set to the old name (while the name field uses the new name). const char *replaced_name; |