summaryrefslogtreecommitdiffstats
path: root/video/out/vo_xv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:06:14 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:01 +0200
commitc8930e80a850a9459157023db57ae723f7a82432 (patch)
treed85570460def6505fef8bb39ae56d378bb1b5887 /video/out/vo_xv.c
parentb08617ff710db2446e59692a7e11336f33a1595b (diff)
downloadmpv-c8930e80a850a9459157023db57ae723f7a82432.tar.bz2
mpv-c8930e80a850a9459157023db57ae723f7a82432.tar.xz
video/out: remove useless info struct and redundant fields
The author and comment fields were printed only in -v mode.
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r--video/out/vo_xv.c12
1 files changed, 4 insertions, 8 deletions
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 <kraxel@goldbach.in-berlin.de>
+ *
* 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 <kraxel@goldbach.in-berlin.de> 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,