diff options
author | wm4 <wm4@nowhere> | 2013-10-23 19:06:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-23 19:30:01 +0200 |
commit | c8930e80a850a9459157023db57ae723f7a82432 (patch) | |
tree | d85570460def6505fef8bb39ae56d378bb1b5887 /video/out/vo_opengl.c | |
parent | b08617ff710db2446e59692a7e11336f33a1595b (diff) | |
download | mpv-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_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index 4a67231770..e1c07d8621 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -1,6 +1,8 @@ /* * This file is part of MPlayer. * + * Based on vo_gl.c by Reimar Doeffinger. + * * 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 @@ -348,12 +350,8 @@ const struct m_option options[] = { }; const struct vo_driver video_out_opengl = { - .info = &(const vo_info_t) { - "Extended OpenGL Renderer", - "opengl", - "Based on vo_gl.c by Reimar Doeffinger", - "" - }, + .description = "Extended OpenGL Renderer", + .name = "opengl", .preinit = preinit, .query_format = query_format, .reconfig = reconfig, @@ -367,12 +365,8 @@ const struct vo_driver video_out_opengl = { }; const struct vo_driver video_out_opengl_hq = { - .info = &(const vo_info_t) { - "Extended OpenGL Renderer (high quality rendering preset)", - "opengl-hq", - "Based on vo_gl.c by Reimar Doeffinger", - "" - }, + .description = "Extended OpenGL Renderer (high quality rendering preset)", + .name = "opengl-hq", .preinit = preinit, .query_format = query_format, .reconfig = reconfig, |