summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-22 22:52:42 +0200
committerwm4 <wm4@nowhere>2013-07-22 22:52:42 +0200
commit1f5ffe7d30a5537cc83fbfb8dad37d01af27427b (patch)
tree7e450c6208e14a2c4fe71e14461469c8fab1b7c8 /video/out/vo.h
parent1df2ad7e034c1c42a8ae86e8b3077c2342ad40bd (diff)
downloadmpv-1f5ffe7d30a5537cc83fbfb8dad37d01af27427b.tar.bz2
mpv-1f5ffe7d30a5537cc83fbfb8dad37d01af27427b.tar.xz
video/out: remove options argument from preinit()
All VOs use proper option parsing now, and compatibility hacks are not needed.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 80c51dfc08..ae84f9d0c9 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -151,11 +151,9 @@ struct vo_driver {
const vo_info_t *info;
/*
- * Preinitializes driver (real INITIALIZATION)
- * arg - currently it's vo_subdevice
* returns: zero on successful initialization, non-zero on error.
*/
- int (*preinit)(struct vo *vo, const char *arg);
+ int (*preinit)(struct vo *vo);
/*
* Whether the given image format is supported and config() will succeed.