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/filter/vf_vo.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'video/filter') diff --git a/video/filter/vf_vo.c b/video/filter/vf_vo.c index cccfb45fc2..2e6e8e7170 100644 --- a/video/filter/vf_vo.c +++ b/video/filter/vf_vo.c @@ -44,16 +44,13 @@ static int reconfig(struct vf_instance *vf, struct mp_image_params *p, int flags return -1; } - const vo_info_t *info = video_out->driver->info; + const struct vo_driver *info = video_out->driver; mp_msg(MSGT_CPLAYER, MSGL_INFO, "VO: [%s] %dx%d => %dx%d %s %s\n", - info->short_name, + info->name, p->w, p->h, p->d_w, p->d_h, vo_format_name(p->imgfmt), (flags & VOFLAG_FLIPPING) ? " [flip]" : ""); - mp_msg(MSGT_CPLAYER, MSGL_V, "VO: Description: %s\n", info->name); - mp_msg(MSGT_CPLAYER, MSGL_V, "VO: Author: %s\n", info->author); - if (info->comment && strlen(info->comment) > 0) - mp_msg(MSGT_CPLAYER, MSGL_V, "VO: Comment: %s\n", info->comment); + mp_msg(MSGT_CPLAYER, MSGL_V, "VO: Description: %s\n", info->description); return vo_reconfig(video_out, p, flags); } -- cgit v1.2.3