[vlc-devel] [PATCH] config_ResetAll() should mark config as dirty

Steve Lhomme robux4 at ycbcr.xyz
Wed Oct 14 15:38:07 CEST 2020


Merged, thanks.

On 2020-09-30 20:56, Lyndon Brown wrote:
> 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);
>   }
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list