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_direct3d.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'video/out/vo_direct3d.c') diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index f16ac87703..9ad2322499 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -1725,15 +1725,9 @@ static const d3d_priv defaults = { .video_eq = { MP_CSP_EQ_CAPS_COLORMATRIX }, }; -#define AUTHOR "Georgi Petrov (gogothebee) and others" - const struct vo_driver video_out_direct3d = { - .info = &(const vo_info_t) { - "Direct3D 9 Renderer", - "direct3d", - AUTHOR, - "" - }, + .description = "Direct3D 9 Renderer", + .name = "direct3d", .preinit = preinit, .query_format = query_format, .config = config, @@ -1749,12 +1743,8 @@ const struct vo_driver video_out_direct3d = { }; const struct vo_driver video_out_direct3d_shaders = { - .info = &(const vo_info_t) { - "Direct3D 9 Renderer (using shaders for YUV conversion)", - "direct3d_shaders", - AUTHOR, - "" - }, + .description = "Direct3D 9 Renderer (using shaders for YUV conversion)", + .name = "direct3d_shaders", .preinit = preinit, .query_format = query_format, .config = config, -- cgit v1.2.3