Commit 24b0958f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VLCInstance: Add a binding for removing a log hook

parent 692aaebb
......@@ -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 );
}
......@@ -38,6 +38,7 @@ namespace LibVLCpp
Instance( int argc, const char** argv );
~Instance();
void setLogHook( void *data, libvlc_log_cb hook );
void unsetLogHook();
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment