]> git.sesse.net Git - vlc/blobdiff - src/input/es_out.c
Put records to download directory
[vlc] / src / input / es_out.c
index 4f97a92d64501d71d05ece2a01e5e70ae8b5f69b..ca866a7d49ffe85195af6a61fcd5998450108d6f 100644 (file)
@@ -466,7 +466,8 @@ static int EsOutSetRecord(  es_out_t *out, bool b_record )
     {
         char *psz_path = var_CreateGetNonEmptyString( p_input, "input-record-path" );
         if( !psz_path )
-            psz_path = config_GetUserDir(VLC_HOME_DIR);
+            /* TODO: autoselect video or music dir ? */
+            psz_path = config_GetUserDir(VLC_DOWNLOAD_DIR);
 
         char *psz_sout = NULL;  // TODO conf