diff options
Diffstat (limited to 'core/options.c')
-rw-r--r-- | core/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/options.c b/core/options.c index 854f1bd0cb..3c0bf213a1 100644 --- a/core/options.c +++ b/core/options.c @@ -182,6 +182,7 @@ extern char *dvd_device, *cdrom_device; extern double mf_fps; extern char * mf_type; extern const struct m_obj_list vf_obj_list; +extern const struct m_obj_list vo_obj_list; static const m_option_t mfopts_conf[]={ {"fps", &mf_fps, CONF_TYPE_DOUBLE, 0, 0, 0, NULL}, @@ -518,7 +519,7 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("sub-text", sub_text_style, osd_style_conf, 0), //---------------------- libao/libvo options ------------------------ - OPT_STRINGLIST("vo", vo.video_driver_list, 0), + OPT_SETTINGSLIST("vo", vo.video_driver_list, 0, &vo_obj_list), OPT_STRINGLIST("ao", audio_driver_list, 0), OPT_FLAG("fixed-vo", fixed_vo, CONF_GLOBAL), OPT_FLAG("ontop", vo.ontop, 0), |