Should we use videos instead?
// and there is an off-by-one in the following sprintf().
return;
- char *dir = config_GetUserDir( VLC_HOME_DIR );
+ char *dir = config_GetUserDir( VLC_DOWNLOAD_DIR );
if( dir == NULL )
return;
/* Retreive path */
char *psz_path = var_CreateGetNonEmptyString( s, "input-record-path" );
if( !psz_path )
- psz_path = config_GetUserDir( VLC_HOME_DIR );
+ psz_path = config_GetUserDir( VLC_DOWNLOAD_DIR );
if( !psz_path )
return VLC_ENOMEM;
{
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