]> git.sesse.net Git - vlc/commitdiff
use add_file and not add_string for the "audiofile-path" option
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Sun, 30 Mar 2003 14:09:59 +0000 (14:09 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Sun, 30 Mar 2003 14:09:59 +0000 (14:09 +0000)
modules/audio_output/file.c

index 4c9d1fe0cc8c42b658ee8a5dec8a609aa0504281..9c38d3f81c7e09db7771acc48f5bdf4fc7683750 100644 (file)
@@ -2,7 +2,7 @@
  * file.c : audio output which writes the samples to a file
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: file.c,v 1.17 2003/03/10 00:04:14 massiot Exp $
+ * $Id: file.c,v 1.18 2003/03/30 14:09:59 sigmunau Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -108,7 +108,7 @@ vlc_module_begin();
     add_category_hint( N_("Audio"), NULL, VLC_FALSE );
     add_string_from_list( "audiofile-format", "s16", format_list, NULL,
                           FORMAT_TEXT, FORMAT_LONGTEXT, VLC_TRUE );
-    add_string( "audiofile-path", "audiofile.wav", NULL, PATH_TEXT,
+    add_file( "audiofile-path", "audiofile.wav", NULL, PATH_TEXT,
                 PATH_LONGTEXT, VLC_FALSE );
     add_bool( "audiofile-wav", 1, NULL, WAV_TEXT, WAV_LONGTEXT, VLC_TRUE );
     set_description( N_("file audio output module") );