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
c22366aa
Commit
c22366aa
authored
Aug 19, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove msg_subscription_t.verbosity
parent
7a05e561
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
src/misc/messages.c
src/misc/messages.c
+0
-16
No files found.
src/misc/messages.c
View file @
c22366aa
...
@@ -153,7 +153,6 @@ struct msg_subscription_t
...
@@ -153,7 +153,6 @@ struct msg_subscription_t
libvlc_int_t
*
instance
;
libvlc_int_t
*
instance
;
msg_callback_t
func
;
msg_callback_t
func
;
msg_cb_data_t
*
opaque
;
msg_cb_data_t
*
opaque
;
int
verbosity
;
};
};
/**
/**
...
@@ -176,7 +175,6 @@ msg_subscription_t *msg_Subscribe (libvlc_int_t *instance, msg_callback_t cb,
...
@@ -176,7 +175,6 @@ msg_subscription_t *msg_Subscribe (libvlc_int_t *instance, msg_callback_t cb,
sub
->
instance
=
instance
;
sub
->
instance
=
instance
;
sub
->
func
=
cb
;
sub
->
func
=
cb
;
sub
->
opaque
=
opaque
;
sub
->
opaque
=
opaque
;
sub
->
verbosity
=
2
;
/* by default, give all the messages */
msg_bank_t
*
bank
=
libvlc_bank
(
instance
);
msg_bank_t
*
bank
=
libvlc_bank
(
instance
);
vlc_rwlock_wrlock
(
&
bank
->
lock
);
vlc_rwlock_wrlock
(
&
bank
->
lock
);
...
@@ -340,20 +338,6 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type, const char *psz_module,
...
@@ -340,20 +338,6 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type, const char *psz_module,
if
(
val
==
kObjectPrintingEnabled
);
/* Allowed */
if
(
val
==
kObjectPrintingEnabled
);
/* Allowed */
else
if
(
!
bank
->
all_objects_enabled
)
continue
;
else
if
(
!
bank
->
all_objects_enabled
)
continue
;
}
}
switch
(
msg
.
i_type
)
{
case
VLC_MSG_INFO
:
case
VLC_MSG_ERR
:
if
(
sub
->
verbosity
<
0
)
continue
;
break
;
case
VLC_MSG_WARN
:
if
(
sub
->
verbosity
<
1
)
continue
;
break
;
case
VLC_MSG_DBG
:
if
(
sub
->
verbosity
<
2
)
continue
;
break
;
}
sub
->
func
(
sub
->
opaque
,
&
msg
);
sub
->
func
(
sub
->
opaque
,
&
msg
);
}
}
vlc_rwlock_unlock
(
&
bank
->
lock
);
vlc_rwlock_unlock
(
&
bank
->
lock
);
...
...
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