Commit 95a9f7ec authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

ActiveX: fixed toggling fullscreen via IVLCControl::fullscreen

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7b2b5337
......@@ -235,10 +235,7 @@ STDMETHODIMP VLCControl::fullscreen(void)
HRESULT result = _p_instance->getMD(&p_md);
if( SUCCEEDED(result) )
{
if( libvlc_media_player_is_playing(p_md) )
{
libvlc_toggle_fullscreen(p_md);
}
_p_instance->toggleFullscreen();
}
return result;
};
......
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