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

EventManager: Fix onScrambleChanged expected prototype

parent 719e998b
......@@ -470,7 +470,7 @@ class MediaPlayerEventManager : public EventManager
template <typename Func>
RegisteredEvent onScrambledChanged( Func&& f )
{
EXPECT_SIGNATURE(void(int));
EXPECT_SIGNATURE(void(bool));
return handle( libvlc_MediaPlayerScrambledChanged, std::forward<Func>( f ), [](const libvlc_event_t* e, void* data)
{
auto callback = static_cast<DecayPtr<Func>>( data );
......
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