summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-06 17:52:17 +0200
committerwm4 <wm4@nowhere>2012-08-06 17:52:17 +0200
commitc7b66d99d1830685ec3761ebf0a3625dee69f5d1 (patch)
treeb932c03a1c892694fdd207b88104bbafe26369e5 /libvo/video_out.h
parentb43adea6c850a3f8e8660428cfa4875e3d698ea6 (diff)
downloadmpv-c7b66d99d1830685ec3761ebf0a3625dee69f5d1.tar.bz2
mpv-c7b66d99d1830685ec3761ebf0a3625dee69f5d1.tar.xz
vo_image: add new video output for writing images
This is supposed to replace vo_png and others.
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 2bcb15bd4c..6cc7c0d02f 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -232,6 +232,9 @@ struct vo_driver {
// Size of private struct for automatic allocation (0 doesn't allocate)
int priv_size;
+ // If not NULL, it's copied into the newly allocated private struct.
+ const void *priv_defaults;
+
// List of options to parse into priv struct (requires privsize to be set)
const struct m_option *options;
};