summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-11 18:20:18 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-11 18:20:18 +0200
commit3faf1fb0a4482712b2177af2f72ef8877f8adc10 (patch)
tree4a9b118cc074d6acbaa7fffe828e90199db08db1 /video/out/vo.h
parent71c25df5e66154e6b8b72ebc0f8ef5ae0c40d7f6 (diff)
downloadmpv-3faf1fb0a4482712b2177af2f72ef8877f8adc10.tar.bz2
mpv-3faf1fb0a4482712b2177af2f72ef8877f8adc10.tar.xz
vo: avoid putting large voctrl_performance_data on stack
This is around 512 kB, which is just way too much. Heap-allocate it instead. Also cut down the max pass count to 64, since 128 was unrealistically high even for vo_opengl.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 50fdab6db4..2a0c3ef626 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -152,7 +152,7 @@ struct mp_pass_perf {
uint64_t count;
};
-#define VO_PASS_PERF_MAX 128
+#define VO_PASS_PERF_MAX 64
struct mp_frame_perf {
int count;