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.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'video/out/vo.h') diff --git a/video/out/vo.h b/video/out/vo.h index 3b6adddb0c..57d5cfb6d0 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -123,18 +123,6 @@ struct voctrl_screenshot_args { #define VOFLAG_GL_DEBUG 0x40 // Hint to request debug OpenGL context #define VOFLAG_ALPHA 0x80 // Hint to request alpha framebuffer -typedef struct vo_info_s -{ - /* driver name ("Matrox Millennium G200/G400" */ - const char *name; - /* short name (for config strings) ("vdpau") */ - const char *short_name; - /* author ("Aaron Holtzman ") */ - const char *author; - /* any additional comments */ - const char *comment; -} vo_info_t; - struct vo; struct osd_state; struct mp_image; @@ -148,7 +136,9 @@ struct vo_driver { // Encoding functionality, which can be invoked via --o only. bool encode; - const vo_info_t *info; + const char *name; + const char *description; + /* * returns: zero on successful initialization, non-zero on error. */ -- cgit v1.2.3