summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c4
-rw-r--r--options/options.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 41c2ab76d4..d8654c2146 100644
--- a/options/options.c
+++ b/options/options.c
@@ -60,6 +60,7 @@ extern const struct m_sub_options stream_cdda_conf;
extern const struct m_sub_options stream_dvb_conf;
extern const struct m_sub_options stream_lavf_conf;
extern const struct m_sub_options sws_conf;
+extern const struct m_sub_options zimg_conf;
extern const struct m_sub_options drm_conf;
extern const struct m_sub_options demux_rawaudio_conf;
extern const struct m_sub_options demux_rawvideo_conf;
@@ -105,6 +106,9 @@ static const struct m_sub_options screenshot_conf = {
static const m_option_t mp_vo_opt_list[] = {
OPT_SETTINGSLIST("vo", video_driver_list, 0, &vo_obj_list, ),
OPT_SUBSTRUCT("sws", sws_opts, sws_conf, 0),
+#if HAVE_ZIMG
+ OPT_SUBSTRUCT("zimg", zimg_opts, zimg_conf, 0),
+#endif
OPT_FLAG("taskbar-progress", taskbar_progress, 0),
OPT_FLAG("snap-window", snap_window, 0),
OPT_FLAG("ontop", ontop, 0),
diff --git a/options/options.h b/options/options.h
index be76364c89..fb5f842565 100644
--- a/options/options.h
+++ b/options/options.h
@@ -55,8 +55,9 @@ typedef struct mp_vo_opts {
double override_display_fps;
double timing_offset;
- // vo_drm
struct sws_opts *sws_opts;
+ struct zimg_opts *zimg_opts;
+
// vo_drm
struct drm_opts *drm_opts;