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
9ee42fca
Commit
9ee42fca
authored
Mar 18, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: use vlc_LogSet()
parent
aa1a821d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/misc/logger.c
modules/misc/logger.c
+2
-3
No files found.
modules/misc/logger.c
View file @
9ee42fca
...
...
@@ -74,7 +74,6 @@
*****************************************************************************/
struct
intf_sys_t
{
msg_subscription_t
sub
;
FILE
*
p_file
;
const
char
*
footer
;
};
...
...
@@ -298,7 +297,7 @@ static int Open( vlc_object_t *p_this )
fputs
(
header
,
p_sys
->
p_file
);
}
vlc_
Subscribe
(
&
p_sys
->
sub
,
cb
,
p_intf
);
vlc_
LogSet
(
p_intf
->
p_libvlc
,
cb
,
p_intf
);
return
VLC_SUCCESS
;
}
...
...
@@ -311,7 +310,7 @@ static void Close( vlc_object_t *p_this )
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
/* Flush the queue and unsubscribe from the message queue */
vlc_
Unsubscribe
(
&
p_sys
->
sub
);
vlc_
LogSet
(
p_intf
->
p_libvlc
,
NULL
,
NULL
);
/* Close the log file */
#ifdef HAVE_SYSLOG_H
...
...
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