diff options
author | wm4 <wm4@nowhere> | 2013-12-01 00:12:10 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-01 00:12:10 +0100 |
commit | b18f02d1ad5e5ce4031438f1cd0f1f3aaaf83003 (patch) | |
tree | b723192a213fbdb0b64a742c91bc106237e5d539 /mpvcore/options.h | |
parent | aaddcb702ef93eac9087852202a59f91abb31433 (diff) | |
download | mpv-b18f02d1ad5e5ce4031438f1cd0f1f3aaaf83003.tar.bz2 mpv-b18f02d1ad5e5ce4031438f1cd0f1f3aaaf83003.tar.xz |
options: add options that set defaults for af/vf/ao/vo
There are some use cases for this. For example, you can use it to set
defaults of automatically inserted filters (like af_lavrresample). It's
also useful if you have a non-trivial VO configuration, and want to use
--vo to quickly change between the drivers without repeating the whole
configuration in the --vo argument.
Diffstat (limited to 'mpvcore/options.h')
-rw-r--r-- | mpvcore/options.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mpvcore/options.h b/mpvcore/options.h index 8b3411bc39..3a4333f891 100644 --- a/mpvcore/options.h +++ b/mpvcore/options.h @@ -6,7 +6,7 @@ #include "mpvcore/m_option.h" typedef struct mp_vo_opts { - struct m_obj_settings *video_driver_list; + struct m_obj_settings *video_driver_list, *vo_defs; int screenwidth; int screenheight; @@ -48,7 +48,7 @@ typedef struct MPOpts { char **lua_files; int lua_load_osc; - struct m_obj_settings *audio_driver_list; + struct m_obj_settings *audio_driver_list, *ao_defs; int fixed_vo; int force_vo; int softvol; @@ -174,8 +174,8 @@ typedef struct MPOpts { int force_srate; int dtshd; double playback_speed; - struct m_obj_settings *vf_settings; - struct m_obj_settings *af_settings; + struct m_obj_settings *vf_settings, *vf_defs; + struct m_obj_settings *af_settings, *af_defs; int deinterlace; float movie_aspect; int flip; |