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
c24ea5fb
Commit
c24ea5fb
authored
Jan 28, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--stats: default to false
parent
f7e78fb2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
bin/darwinvlc.c
bin/darwinvlc.c
+2
-1
bin/vlc.c
bin/vlc.c
+2
-1
bin/winvlc.c
bin/winvlc.c
+2
-1
src/libvlc-module.c
src/libvlc-module.c
+1
-1
No files found.
bin/darwinvlc.c
View file @
c24ea5fb
...
@@ -151,11 +151,12 @@ int main( int i_argc, const char *ppsz_argv[] )
...
@@ -151,11 +151,12 @@ int main( int i_argc, const char *ppsz_argv[] )
pthread_t
self
=
pthread_self
();
pthread_t
self
=
pthread_self
();
pthread_sigmask
(
SIG_SETMASK
,
&
set
,
NULL
);
pthread_sigmask
(
SIG_SETMASK
,
&
set
,
NULL
);
const
char
*
argv
[
i_argc
+
2
];
const
char
*
argv
[
i_argc
+
3
];
int
argc
=
0
;
int
argc
=
0
;
argv
[
argc
++
]
=
"--no-ignore-config"
;
argv
[
argc
++
]
=
"--no-ignore-config"
;
argv
[
argc
++
]
=
"--media-library"
;
argv
[
argc
++
]
=
"--media-library"
;
argv
[
argc
++
]
=
"--stats"
;
/* overwrite system language on Mac */
/* overwrite system language on Mac */
#if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR // TARGET_OS_MAC is unspecific
#if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR // TARGET_OS_MAC is unspecific
...
...
bin/vlc.c
View file @
c24ea5fb
...
@@ -201,11 +201,12 @@ int main( int i_argc, const char *ppsz_argv[] )
...
@@ -201,11 +201,12 @@ int main( int i_argc, const char *ppsz_argv[] )
pthread_t
self
=
pthread_self
();
pthread_t
self
=
pthread_self
();
pthread_sigmask
(
SIG_SETMASK
,
&
set
,
NULL
);
pthread_sigmask
(
SIG_SETMASK
,
&
set
,
NULL
);
const
char
*
argv
[
i_argc
+
2
];
const
char
*
argv
[
i_argc
+
3
];
int
argc
=
0
;
int
argc
=
0
;
argv
[
argc
++
]
=
"--no-ignore-config"
;
argv
[
argc
++
]
=
"--no-ignore-config"
;
argv
[
argc
++
]
=
"--media-library"
;
argv
[
argc
++
]
=
"--media-library"
;
argv
[
argc
++
]
=
"--stats"
;
ppsz_argv
++
;
i_argc
--
;
/* skip executable path */
ppsz_argv
++
;
i_argc
--
;
/* skip executable path */
#ifdef __OS2__
#ifdef __OS2__
...
...
bin/winvlc.c
View file @
c24ea5fb
...
@@ -105,12 +105,13 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
...
@@ -105,12 +105,13 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
if
(
wargv
==
NULL
)
if
(
wargv
==
NULL
)
return
1
;
return
1
;
char
*
argv
[
argc
+
3
];
char
*
argv
[
argc
+
4
];
BOOL
crash_handling
=
TRUE
;
BOOL
crash_handling
=
TRUE
;
int
j
=
0
;
int
j
=
0
;
char
*
lang
=
NULL
;
char
*
lang
=
NULL
;
argv
[
j
++
]
=
FromWide
(
L"--media-library"
);
argv
[
j
++
]
=
FromWide
(
L"--media-library"
);
argv
[
j
++
]
=
FromWide
(
L"--stats"
);
argv
[
j
++
]
=
FromWide
(
L"--no-ignore-config"
);
argv
[
j
++
]
=
FromWide
(
L"--no-ignore-config"
);
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
{
{
...
...
src/libvlc-module.c
View file @
c24ea5fb
...
@@ -2092,7 +2092,7 @@ vlc_module_begin ()
...
@@ -2092,7 +2092,7 @@ vlc_module_begin ()
add_bool
(
"interact"
,
true
,
INTERACTION_TEXT
,
add_bool
(
"interact"
,
true
,
INTERACTION_TEXT
,
INTERACTION_LONGTEXT
,
false
)
INTERACTION_LONGTEXT
,
false
)
add_bool
(
"stats"
,
tru
e
,
STATS_TEXT
,
STATS_LONGTEXT
,
true
)
add_bool
(
"stats"
,
fals
e
,
STATS_TEXT
,
STATS_LONGTEXT
,
true
)
set_subcategory
(
SUBCAT_INTERFACE_MAIN
)
set_subcategory
(
SUBCAT_INTERFACE_MAIN
)
add_module_cat
(
"intf"
,
SUBCAT_INTERFACE_MAIN
,
NULL
,
INTF_TEXT
,
add_module_cat
(
"intf"
,
SUBCAT_INTERFACE_MAIN
,
NULL
,
INTF_TEXT
,
...
...
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