From 9e6b9d8a982eb07a05fd059a92f1d6b2f01460a0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Sep 2016 21:04:55 +0200 Subject: vo_image: move to global options This is a bit "special", because the config tree wants unique m_sub_options pointers in the whole thing. --- video/image_writer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'video/image_writer.h') diff --git a/video/image_writer.h b/video/image_writer.h index ce8438aed6..8b7414b62a 100644 --- a/video/image_writer.h +++ b/video/image_writer.h @@ -15,6 +15,8 @@ * with mpv. If not, see . */ +#include "options/m_option.h" + struct mp_image; struct mp_log; @@ -35,7 +37,7 @@ struct image_writer_opts { extern const struct image_writer_opts image_writer_opts_defaults; -extern const struct m_sub_options image_writer_conf; +extern const struct m_option image_writer_opts[]; // Return the file extension that will be used, e.g. "png". const char *image_writer_file_ext(const struct image_writer_opts *opts); -- cgit v1.2.3