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
cd0c2c45
Commit
cd0c2c45
authored
Jul 09, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply Enable/DisableObjectPrinting to filter subscriptions too
parent
fe145872
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/misc/messages.c
src/misc/messages.c
+14
-0
No files found.
src/misc/messages.c
View file @
cd0c2c45
...
...
@@ -442,6 +442,20 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type,
for
(
int
i
=
0
;
i
<
bank
->
i_sub
;
i
++
)
{
msg_subscription_t
*
sub
=
bank
->
pp_sub
[
i
];
libvlc_priv_t
*
priv
=
libvlc_priv
(
sub
->
instance
);
msg_bank_t
*
bank
=
priv
->
msg_bank
;
void
*
val
=
vlc_dictionary_value_for_key
(
&
bank
->
enabled_objects
,
p_item
->
psz_module
);
if
(
val
==
kObjectPrintingDisabled
)
continue
;
if
(
val
!=
kObjectPrintingEnabled
)
/*if not allowed */
{
val
=
vlc_dictionary_value_for_key
(
&
bank
->
enabled_objects
,
p_item
->
psz_object_type
);
if
(
val
==
kObjectPrintingDisabled
)
continue
;
if
(
val
==
kObjectPrintingEnabled
);
/* Allowed */
else
if
(
!
bank
->
all_objects_enabled
)
continue
;
}
sub
->
func
(
sub
->
opaque
,
p_item
,
0
);
}
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