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/filter | |
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/filter')
-rw-r--r-- | video/filter/vf_vo.c | 9 |
1 files changed, 3 insertions, 6 deletions
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); } |