From 3faf1fb0a4482712b2177af2f72ef8877f8adc10 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 11 Sep 2017 18:20:18 +0200 Subject: 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. --- video/out/vo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo.h') 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; -- cgit v1.2.3