summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 55c55df15e..085658f3dc 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -164,14 +164,12 @@ struct mp_pass_perf {
};
#define VO_PASS_PERF_MAX 64
+#define VO_PASS_DESC_MAX_LEN 128
struct mp_frame_perf {
int count;
struct mp_pass_perf perf[VO_PASS_PERF_MAX];
- // The owner of this struct does not have ownership over the names, and
- // they may change at any time - so this struct should not be stored
- // anywhere or the results reused
- char *desc[VO_PASS_PERF_MAX];
+ char desc[VO_PASS_PERF_MAX][VO_PASS_DESC_MAX_LEN];
};
struct voctrl_performance_data {