summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
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;
}