summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:06:14 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:01 +0200
commitc8930e80a850a9459157023db57ae723f7a82432 (patch)
treed85570460def6505fef8bb39ae56d378bb1b5887 /video/out/vo.c
parentb08617ff710db2446e59692a7e11336f33a1595b (diff)
downloadmpv-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.c')
-rw-r--r--video/out/vo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 65f3f680b4..b29e3f7c95 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -118,8 +118,8 @@ static bool get_desc(struct m_obj_desc *dst, int index)
return false;
const struct vo_driver *vo = video_out_drivers[index];
*dst = (struct m_obj_desc) {
- .name = vo->info->short_name,
- .description = vo->info->name,
+ .name = vo->name,
+ .description = vo->description,
.priv_size = vo->priv_size,
.priv_defaults = vo->priv_defaults,
.options = vo->options,
@@ -324,7 +324,7 @@ autoprobe:
// now try the rest...
for (int i = 0; video_out_drivers[i]; i++) {
struct vo *vo = vo_create(global, input_ctx, encode_lavc_ctx,
- (char *)video_out_drivers[i]->info->short_name, NULL);
+ (char *)video_out_drivers[i]->name, NULL);
if (vo)
return vo;
}