[vlc-devel] [PATCH] aout: do not reset the instance volume to -1 on destroy
Steve Lhomme
robux4 at ycbcr.xyz
Wed Jan 17 17:53:04 CET 2018
There might be other modules started that have already set their proper value.
Fixes #19206
---
src/audio_output/output.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/audio_output/output.c b/src/audio_output/output.c
index ff4eda24c4..fbe8645bf2 100644
--- a/src/audio_output/output.c
+++ b/src/audio_output/output.c
@@ -372,7 +372,6 @@ void aout_Destroy (audio_output_t *aout)
var_DelCallback (aout, "audio-filter", FilterCallback, NULL);
var_DelCallback (aout, "device", var_CopyDevice, aout->obj.parent);
var_DelCallback (aout, "mute", var_Copy, aout->obj.parent);
- var_SetFloat (aout, "volume", -1.f);
var_DelCallback (aout, "volume", var_Copy, aout->obj.parent);
var_DelCallback (aout, "stereo-mode", StereoModeCallback, NULL);
vlc_object_release (aout);
--
2.14.2
More information about the vlc-devel
mailing list