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_caca.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_caca.c')
-rw-r--r-- | video/out/vo_caca.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/video/out/vo_caca.c b/video/out/vo_caca.c index dd6d76f311..a14441e4f4 100644 --- a/video/out/vo_caca.c +++ b/video/out/vo_caca.c @@ -246,13 +246,8 @@ static void uninit(struct vo *vo) caca_free_canvas(canvas); } -static int preinit(struct vo *vo, const char *arg) +static int preinit(struct vo *vo) { - if (arg) { - mp_msg(MSGT_VO, MSGL_ERR, "vo_caca: Unknown subdevice: %s\n", arg); - return ENOSYS; - } - canvas = caca_create_canvas(0, 0); if (canvas == NULL) { mp_msg(MSGT_VO, MSGL_ERR, "vo_caca: failed to create canvas\n"); |