Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
luyikei
VLMC
Commits
24b0958f
Commit
24b0958f
authored
Feb 28, 2014
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCInstance: Add a binding for removing a log hook
parent
692aaebb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/Backend/VLC/LibVLCpp/VLCInstance.cpp
src/Backend/VLC/LibVLCpp/VLCInstance.cpp
+5
-0
src/Backend/VLC/LibVLCpp/VLCInstance.h
src/Backend/VLC/LibVLCpp/VLCInstance.h
+1
-0
No files found.
src/Backend/VLC/LibVLCpp/VLCInstance.cpp
View file @
24b0958f
...
...
@@ -43,6 +43,11 @@ void
Instance
::
setLogHook
(
void
*
data
,
libvlc_log_cb
hook
)
{
libvlc_log_set
(
m_internalPtr
,
hook
,
data
);
}
void
Instance
::
unsetLogHook
()
{
libvlc_log_unset
(
*
this
);
}
src/Backend/VLC/LibVLCpp/VLCInstance.h
View file @
24b0958f
...
...
@@ -38,6 +38,7 @@ namespace LibVLCpp
Instance
(
int
argc
,
const
char
**
argv
);
~
Instance
();
void
setLogHook
(
void
*
data
,
libvlc_log_cb
hook
);
void
unsetLogHook
();
};
}
...
...
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