[vlc-devel] [PATCH] config_ResetAll() should mark config as dirty
    Lyndon Brown 
    jnqnfe at gmail.com
       
    Wed Sep 30 20:56:31 CEST 2020
    
    
  
preview:
From: Lyndon Brown <jnqnfe at gmail.com>
Date: Mon, 20 May 2019 03:41:17 +0100
Subject: config: mark dirty in config_ResetAll()
this changes the values of config items, so should therefore be marking
the config as dirty after doing so, for consistency at least, even if it
is always paired with a config save
diff --git a/src/config/core.c b/src/config/core.c
index ce05d20afd..6bc5b71141 100644
--- a/src/config/core.c
+++ b/src/config/core.c
@@ -499,5 +499,6 @@ void config_ResetAll(void)
             }
         }
     }
+    config_dirty = true;
     vlc_rwlock_unlock (&config_lock);
 }
    
    
More information about the vlc-devel
mailing list