Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a6367fb7
Commit
a6367fb7
authored
Jul 28, 2010
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: fix verbosity
parent
389cb8ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
modules/misc/logger.c
modules/misc/logger.c
+14
-2
No files found.
modules/misc/logger.c
View file @
a6367fb7
...
...
@@ -373,8 +373,20 @@ static void Overflow (msg_cb_data_t *p_sys, msg_item_t *p_item, unsigned overrun
if
(
verbosity
==
-
1
)
verbosity
=
var_CreateGetInteger
(
p_sys
->
p_intf
,
"verbose"
);
if
(
verbosity
<
p_item
->
i_type
)
return
;
switch
(
p_item
->
i_type
)
{
case
VLC_MSG_INFO
:
case
VLC_MSG_ERR
:
if
(
verbosity
<
0
)
return
;
break
;
case
VLC_MSG_WARN
:
if
(
verbosity
<
1
)
return
;
break
;
case
VLC_MSG_DBG
:
if
(
verbosity
<
2
)
return
;
break
;
}
int
canc
=
vlc_savecancel
();
...
...
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