[vlc-commits] [Git][videolan/vlc][master] config: chain: fix configuration type check

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue Jan 11 19:04:45 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
b0fdb524 by Alexandre Janniaux at 2022-01-11T18:37:44+00:00
config: chain: fix configuration type check

module_list type in config_chain was raising the log:

    unhandled config var type (134)

- - - - -


1 changed file:

- src/config/chain.c


Changes:

=====================================
src/config/chain.c
=====================================
@@ -373,7 +373,7 @@ void config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
         }
 
         /* get the type of the variable */
-        const int i_type = param->item.i_type;
+        const int i_type = CONFIG_CLASS(param->item.i_type);
 
         if( i_type != CONFIG_ITEM_BOOL && cfg->psz_value == NULL )
         {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0fdb5243363a71e2f943ad752bdfd688234ebac

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0fdb5243363a71e2f943ad752bdfd688234ebac
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list