[vlc-commits] aout: do not unset stereo-mode when changing device
Rémi Denis-Courmont
git at videolan.org
Sun Dec 16 15:35:33 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 16 16:35:22 2012 +0200| [ad6442ae5ac09b8f19a79788885c31be245d1c80] | committer: Rémi Denis-Courmont
aout: do not unset stereo-mode when changing device
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad6442ae5ac09b8f19a79788885c31be245d1c80
---
src/audio_output/dec.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index b6cbf5f..6f2c06c 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -175,12 +175,6 @@ int aout_ChannelsRestart (vlc_object_t *obj, const char *varname,
audio_output_t *aout = (audio_output_t *)obj;
(void)oldval; (void)newval; (void)data;
- if (!strcmp (varname, "audio-device"))
- {
- /* This is supposed to be a significant change and supposes
- * rebuilding the channel choices. */
- var_Destroy (aout, "stereo-mode");
- }
aout_RequestRestart (aout, AOUT_RESTART_OUTPUT);
return 0;
}
More information about the vlc-commits
mailing list