[vlc-commits] File audio output: limit the number of channels

Jean-Baptiste Kempf git at videolan.org
Tue Aug 30 01:35:36 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 30 01:05:07 2011 +0200| [08490be5a92d895644dc928d8e114b25cb8d3062] | committer: Jean-Baptiste Kempf

File audio output: limit the number of channels

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08490be5a92d895644dc928d8e114b25cb8d3062
---

 modules/audio_output/file.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c
index 4138f37..c2a6b35 100644
--- a/modules/audio_output/file.c
+++ b/modules/audio_output/file.c
@@ -117,6 +117,7 @@ vlc_module_begin ()
         change_string_list( format_list, 0, 0 )
     add_integer( "audiofile-channels", 0,
                  CHANNELS_TEXT, CHANNELS_LONGTEXT, true )
+        change_integer_range( 0, 6 )
     add_savefile( "audiofile-file", "audiofile.wav", FILE_TEXT,
                   FILE_LONGTEXT, false )
     add_bool( "audiofile-wav", true, WAV_TEXT, WAV_LONGTEXT, true )



More information about the vlc-commits mailing list