Commit 2e8b978c authored by Martin Finkel's avatar Martin Finkel

Fix wrong EventArgs type

videolan/LibVLCSharp#42
parent d0900339
...@@ -815,13 +815,13 @@ namespace LibVLCSharp.Shared ...@@ -815,13 +815,13 @@ namespace LibVLCSharp.Shared
remove => EventManager.DetachEvent(EventType.MediaFreed, value); remove => EventManager.DetachEvent(EventType.MediaFreed, value);
} }
public event EventHandler<MediaFreedEventArgs> StateChanged public event EventHandler<MediaStateChangedEventArgs> StateChanged
{ {
add => EventManager.AttachEvent(EventType.MediaStateChanged, value); add => EventManager.AttachEvent(EventType.MediaStateChanged, value);
remove => EventManager.DetachEvent(EventType.MediaStateChanged, value); remove => EventManager.DetachEvent(EventType.MediaStateChanged, value);
} }
public event EventHandler<MediaFreedEventArgs> SubItemTreeAdded public event EventHandler<MediaSubItemAddedEventArgs> SubItemTreeAdded
{ {
add => EventManager.AttachEvent(EventType.MediaSubItemTreeAdded, value); add => EventManager.AttachEvent(EventType.MediaSubItemTreeAdded, value);
remove => EventManager.DetachEvent(EventType.MediaSubItemTreeAdded, value); remove => EventManager.DetachEvent(EventType.MediaSubItemTreeAdded, value);
......
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