From f1d161d55f458cf47e63d1ab9ddf08859019dd8a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 12 Aug 2017 23:08:48 +0200 Subject: player: make --lavfi-complex changeable at runtime Tends to be somewhat glitchy if subtitles are enabled, and you enable and disable tracks. On error, this will disable --lavfi-complex, which will result in whatever behavior. --- options/m_option.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options/m_option.h') diff --git a/options/m_option.h b/options/m_option.h index 6935c93594..5feed14542 100644 --- a/options/m_option.h +++ b/options/m_option.h @@ -408,7 +408,8 @@ struct m_option { #define UPDATE_PRIORITY (1 << 15) // --priority (Windows-only) #define UPDATE_SCREENSAVER (1 << 16) // --stop-screensaver #define UPDATE_VOL (1 << 17) // softvol related options -#define UPDATE_OPT_LAST (1 << 17) +#define UPDATE_LAVFI_COMPLEX (1 << 18) // --lavfi-complex +#define UPDATE_OPT_LAST (1 << 18) // All bits between _FIRST and _LAST (inclusive) #define UPDATE_OPTS_MASK \ -- cgit v1.2.3