summaryrefslogtreecommitdiffstats
path: root/video/out/vo_sdl.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_sdl.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_sdl.c')
-rw-r--r--video/out/vo_sdl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c
index c9e81c450d..60498e2847 100644
--- a/video/out/vo_sdl.c
+++ b/video/out/vo_sdl.c
@@ -995,12 +995,8 @@ static int control(struct vo *vo, uint32_t request, void *data)
#define OPT_BASE_STRUCT struct priv
const struct vo_driver video_out_sdl = {
- .info = &(const vo_info_t) {
- "SDL 2.0 Renderer",
- "sdl",
- "Rudolf Polzer <divVerent@xonotic.org>",
- ""
- },
+ .description = "SDL 2.0 Renderer",
+ .name = "sdl",
.priv_size = sizeof(struct priv),
.priv_defaults = &(const struct priv) {
.renderer_index = -1,