summaryrefslogtreecommitdiffstats
path: root/video/image_writer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-05 21:04:55 +0200
committerwm4 <wm4@nowhere>2016-09-05 21:04:55 +0200
commit9e6b9d8a982eb07a05fd059a92f1d6b2f01460a0 (patch)
treed0e81a6d717e4ee841c855c97a4f9de407dd9b17 /video/image_writer.h
parent726ef35aa83907308587dda822c0f0fcd68fc07f (diff)
downloadmpv-9e6b9d8a982eb07a05fd059a92f1d6b2f01460a0.tar.bz2
mpv-9e6b9d8a982eb07a05fd059a92f1d6b2f01460a0.tar.xz
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.
Diffstat (limited to 'video/image_writer.h')
-rw-r--r--video/image_writer.h4
1 files changed, 3 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#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);