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_direct3d.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_direct3d.c')
-rw-r--r-- | video/out/vo_direct3d.c | 18 |
1 files changed, 4 insertions, 14 deletions
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) <gogothebee@gmail.com> 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, |