[vlc-commits] audio output: Don't inherit "mute"
Hugo Beauzée-Luyssen
git at videolan.org
Mon Aug 24 13:27:48 CEST 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Aug 20 11:36:30 2020 +0200| [8c31959c4c69de6e80012c0b3a5d7ecd64f35a86] | committer: Hugo Beauzée-Luyssen
audio output: Don't inherit "mute"
Since this variable is not created as part of any module, creating
it with this flag will cause an assertion failure when trying to
load it from the config
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c31959c4c69de6e80012c0b3a5d7ecd64f35a86
---
src/audio_output/output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio_output/output.c b/src/audio_output/output.c
index 260e27700e..485aa6fe3c 100644
--- a/src/audio_output/output.c
+++ b/src/audio_output/output.c
@@ -228,7 +228,7 @@ audio_output_t *aout_New (vlc_object_t *parent)
/* Audio output module callbacks */
var_Create (aout, "volume", VLC_VAR_FLOAT);
var_AddCallback (aout, "volume", var_Copy, parent);
- var_Create (aout, "mute", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
+ var_Create (aout, "mute", VLC_VAR_BOOL);
var_AddCallback (aout, "mute", var_Copy, parent);
var_Create (aout, "device", VLC_VAR_STRING);
var_AddCallback (aout, "device", var_CopyDevice, parent);
More information about the vlc-commits
mailing list