Commit 42d3b412 authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

npapi win32: added handling of destroying of media_player_t

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 232cc83d
......@@ -177,3 +177,7 @@ bool VlcPluginWin::destroy_windows()
return true;
}
void VlcPluginWin::on_media_player_release()
{
_WindowsManager.LibVlcDetach();
}
......@@ -62,6 +62,9 @@ public:
void setWindowProc(WNDPROC wndproc)
{ pf_wndproc = wndproc; };
protected:
virtual void on_media_player_release();
private:
void set_player_window();
......
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