[vlc-commits] macosx: don't save video filters options to config

Victorien Le Couviour--Tuffet git at videolan.org
Thu Jul 13 11:24:23 CEST 2017


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Mon Jun 26 17:33:51 2017 +0200| [732fd11326725d5c487cbdb56cc60ed0b3cb7eff] | committer: Jean-Baptiste Kempf

macosx: don't save video filters options to config

We only save them in current video profile

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=732fd11326725d5c487cbdb56cc60ed0b3cb7eff
---

 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 7ac339b0ec..d636723241 100644
--- a/modules/gui/macosx/VLCCoreInteraction.m
+++ b/modules/gui/macosx/VLCCoreInteraction.m
@@ -820,25 +820,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,



More information about the vlc-commits mailing list