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
3f71509f
Commit
3f71509f
authored
Oct 20, 2010
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable media-library by default
Enable it in vlc binary
parent
14fbb294
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bin/vlc.c
bin/vlc.c
+2
-1
src/libvlc-module.c
src/libvlc-module.c
+1
-1
No files found.
bin/vlc.c
View file @
3f71509f
...
...
@@ -171,10 +171,11 @@ int main( int i_argc, const char *ppsz_argv[] )
pthread_sigmask
(
SIG_BLOCK
,
&
set
,
NULL
);
/* Note that FromLocale() can be used before libvlc is initialized */
const
char
*
argv
[
i_argc
+
3
];
const
char
*
argv
[
i_argc
+
4
];
int
argc
=
0
;
argv
[
argc
++
]
=
"--no-ignore-config"
;
argv
[
argc
++
]
=
"--media-library"
;
#ifdef TOP_BUILDDIR
argv
[
argc
++
]
=
FromLocale
(
"--plugin-path="
TOP_BUILDDIR
"/modules"
);
#endif
...
...
src/libvlc-module.c
View file @
3f71509f
...
...
@@ -2142,7 +2142,7 @@ vlc_module_begin ()
change_safe
()
add_bool
(
"play-and-pause"
,
0
,
NULL
,
PAP_TEXT
,
PAP_LONGTEXT
,
true
)
change_safe
()
add_bool
(
"media-library"
,
1
,
NULL
,
ML_TEXT
,
ML_LONGTEXT
,
false
)
add_bool
(
"media-library"
,
0
,
NULL
,
ML_TEXT
,
ML_LONGTEXT
,
false
)
#if defined( MEDIA_LIBRARY )
add_bool
(
"load-media-library-on-startup"
,
1
,
NULL
,
LOAD_ML_TEXT
,
LOAD_ML_LONGTEXT
,
false
)
...
...
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