From 1f5ffe7d30a5537cc83fbfb8dad37d01af27427b Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 22 Jul 2013 22:52:42 +0200 Subject: video/out: remove options argument from preinit() All VOs use proper option parsing now, and compatibility hacks are not needed. --- video/out/vo_null.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'video/out/vo_null.c') 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; } -- cgit v1.2.3