]> git.sesse.net Git - vlc/blobdiff - src/misc/variables.c
Add var_InheritAddress()
[vlc] / src / misc / variables.c
index 6f3e901cc9bc59e6cc3d590a43bceac8668d3957..9374f3e798b76388117fcc9b4aa1552a609a0206 100644 (file)
@@ -1225,6 +1225,8 @@ int var_Inherit( vlc_object_t *p_this, const char *psz_name, int i_type,
         case VLC_VAR_BOOL:
             p_val->b_bool = config_GetInt( p_this, psz_name );
             break;
+        case VLC_VAR_ADDRESS:
+            return VLC_ENOOBJ;
         default:
             msg_Warn( p_this, "Could not inherit value for var %s "
                               "from config. Invalid Type", psz_name );