[vlc-devel] [PATCH 13/23] macosx: don't save video filters options to config

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Thu Jun 29 14:24:20 CEST 2017


We only save them in current video profile
---
 modules/gui/macosx/VLCCoreInteraction.m | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/modules/gui/macosx/VLCCoreInteraction.m b/modules/gui/macosx/VLCCoreInteraction.m
index 9d1b4a653a..c8c07b8a6e 100644
--- a/modules/gui/macosx/VLCCoreInteraction.m
+++ b/modules/gui/macosx/VLCCoreInteraction.m
@@ -819,25 +819,13 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var,
 
     i_type &= VLC_VAR_CLASS;
     if (i_type == VLC_VAR_BOOL)
-    {
         var_SetBool(p_playlist, psz_property, value.b_bool);
-        config_PutInt(p_intf, psz_property, (int64_t)value.b_bool);
-    }
     else if (i_type == VLC_VAR_INTEGER)
-    {
         var_SetInteger(p_playlist, psz_property, value.i_int);
-        config_PutInt(p_intf, psz_property, value.i_int);
-    }
     else if (i_type == VLC_VAR_FLOAT)
-    {
-        config_PutFloat(p_intf, psz_property, value.f_float);
         var_SetFloat(p_playlist, psz_property, value.f_float);
-    }
     else if (i_type == VLC_VAR_STRING)
-    {
-        config_PutPsz(p_intf, psz_property, EnsureUTF8(value.psz_string));
         var_SetString(p_playlist, psz_property, EnsureUTF8(value.psz_string));
-    }
     else
     {
         msg_Err(p_intf,
-- 
2.13.1



More information about the vlc-devel mailing list