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.
This commit is contained in:
wm4
2017-08-12 23:08:48 +02:00
parent baead23ea0
commit f1d161d55f
11 changed files with 188 additions and 99 deletions

View File

@@ -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 \