Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
47ee4e3b
Commit
47ee4e3b
authored
May 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused parameter
parent
8a96b3e7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
src/config/configuration.h
src/config/configuration.h
+3
-3
src/config/core.c
src/config/core.c
+3
-3
src/libvlc-common.c
src/libvlc-common.c
+3
-3
No files found.
src/config/configuration.h
View file @
47ee4e3b
...
...
@@ -44,9 +44,9 @@ void config_UnsetCallbacks( module_config_t *, size_t );
int
__config_LoadCmdLine
(
vlc_object_t
*
,
int
*
,
const
char
*
[],
bool
);
char
*
config_GetHomeDir
(
void
);
char
*
config_GetConfigDir
(
libvlc_int_t
*
);
char
*
config_GetUserDataDir
(
libvlc_int_t
*
);
char
*
config_GetCacheDir
(
libvlc_int_t
*
);
char
*
config_GetConfigDir
(
void
);
char
*
config_GetUserDataDir
(
void
);
char
*
config_GetCacheDir
(
void
);
char
*
config_GetConfigFile
(
libvlc_int_t
*
);
char
*
config_GetCustomConfigFile
(
libvlc_int_t
*
);
int
__config_LoadConfigFile
(
vlc_object_t
*
,
const
char
*
);
...
...
src/config/core.c
View file @
47ee4e3b
...
...
@@ -764,7 +764,7 @@ out:
/**
* Get the user's VLC configuration directory
*/
char
*
config_GetConfigDir
(
libvlc_int_t
*
p_libvlc
)
char
*
config_GetConfigDir
(
void
)
{
return
config_GetFooDir
(
"CONFIG"
,
".config"
);
}
...
...
@@ -773,7 +773,7 @@ char *config_GetConfigDir( libvlc_int_t *p_libvlc )
* Get the user's VLC data directory
* (used for stuff like the skins, custom lua modules, ...)
*/
char
*
config_GetUserDataDir
(
libvlc_int_t
*
p_libvlc
)
char
*
config_GetUserDataDir
(
void
)
{
return
config_GetFooDir
(
"DATA"
,
".local/share"
);
}
...
...
@@ -782,7 +782,7 @@ char *config_GetUserDataDir( libvlc_int_t *p_libvlc )
* Get the user's VLC cache directory
* (used for stuff like the modules cache, the album art cache, ...)
*/
char
*
config_GetCacheDir
(
libvlc_int_t
*
p_libvlc
)
char
*
config_GetCacheDir
(
void
)
{
return
config_GetFooDir
(
"CACHE"
,
".cache"
);
}
src/libvlc-common.c
View file @
47ee4e3b
...
...
@@ -301,9 +301,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Set the config file stuff */
p_libvlc
->
psz_homedir
=
config_GetHomeDir
();
p_libvlc
->
psz_configdir
=
config_GetConfigDir
(
p_libvlc
);
p_libvlc
->
psz_datadir
=
config_GetUserDataDir
(
p_libvlc
);
p_libvlc
->
psz_cachedir
=
config_GetCacheDir
(
p_libvlc
);
p_libvlc
->
psz_configdir
=
config_GetConfigDir
();
p_libvlc
->
psz_datadir
=
config_GetUserDataDir
();
p_libvlc
->
psz_cachedir
=
config_GetCacheDir
();
priv
->
psz_configfile
=
config_GetCustomConfigFile
(
p_libvlc
);
/* Check for plugins cache options */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment