From 62904203804afb614f4809495f1a1bb6e4006aaa Mon Sep 17 00:00:00 2001 From: Anton Kindestam Date: Sat, 28 Sep 2019 10:26:23 +0200 Subject: vo: make swapchain-depth option generic for all VOs In preparation for making vo_drm able to use swapchain-depth --- options/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index 9e74821278..7f0fde6af5 100644 --- a/options/options.c +++ b/options/options.c @@ -160,6 +160,7 @@ static const m_option_t mp_vo_opt_list[] = { #if HAVE_DRM OPT_SUBSTRUCT("", drm_opts, drm_conf, 0), #endif + OPT_INTRANGE("swapchain-depth", swapchain_depth, 0, 1, 8), {0} }; @@ -186,6 +187,7 @@ const struct m_sub_options vo_sub_opts = { .mmcss_profile = "Playback", .ontop_level = -1, .timing_offset = 0.050, + .swapchain_depth = 3, }, }; -- cgit v1.2.3