diff options
author | wm4 <wm4@nowhere> | 2013-07-22 22:52:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-22 22:52:42 +0200 |
commit | 1f5ffe7d30a5537cc83fbfb8dad37d01af27427b (patch) | |
tree | 7e450c6208e14a2c4fe71e14461469c8fab1b7c8 /video/out/vo_null.c | |
parent | 1df2ad7e034c1c42a8ae86e8b3077c2342ad40bd (diff) | |
download | mpv-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_null.c')
-rw-r--r-- | video/out/vo_null.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/video/out/vo_null.c b/video/out/vo_null.c index 685b9c3a84..88c355033f 100644 --- a/video/out/vo_null.c +++ b/video/out/vo_null.c @@ -56,12 +56,8 @@ static void uninit(struct vo *vo) { } -static int preinit(struct vo *vo, const char *arg) +static int preinit(struct vo *vo) { - if (arg) { - mp_tmsg(MSGT_VO, MSGL_WARN, "[VO_NULL] Unknown subdevice: %s.\n", arg); - return ENOSYS; - } return 0; } |