From c8930e80a850a9459157023db57ae723f7a82432 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Oct 2013 19:06:14 +0200 Subject: video/out: remove useless info struct and redundant fields The author and comment fields were printed only in -v mode. --- video/out/vo_xv.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'video/out/vo_xv.c') diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index 8b56750382..660c4dd128 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -3,6 +3,8 @@ * * This file is part of MPlayer. * + * Original author: Gerd Knorr + * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -56,13 +58,6 @@ #include "mpvcore/m_option.h" #include "osdep/timer.h" -static const vo_info_t info = { - "X11/Xv", - "xv", - "Gerd Knorr and others", - "" -}; - #define CK_METHOD_NONE 0 // no colorkey drawing #define CK_METHOD_BACKGROUND 1 // set colorkey as window background #define CK_METHOD_AUTOPAINT 2 // let xv draw the colorkey @@ -878,7 +873,8 @@ static int control(struct vo *vo, uint32_t request, void *data) #define OPT_BASE_STRUCT struct xvctx const struct vo_driver video_out_xv = { - .info = &info, + .description = "X11/Xv", + .name = "xv", .preinit = preinit, .query_format = query_format, .config = config, -- cgit v1.2.3