[vlc-commits] ActiveX: fixed toggling fullscreen via IVLCControl::fullscreen

Sergey Radionov git at videolan.org
Tue Nov 8 02:23:36 CET 2011


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Tue Jul 26 10:51:23 2011 +0700| [95a9f7ecfb596304c83722ce12b126cf011e082c] | committer: Jean-Baptiste Kempf

ActiveX: fixed toggling fullscreen via IVLCControl::fullscreen

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=95a9f7ecfb596304c83722ce12b126cf011e082c
---

 activex/vlccontrol.cpp |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/activex/vlccontrol.cpp b/activex/vlccontrol.cpp
index 541a90d..7ebc248 100644
--- a/activex/vlccontrol.cpp
+++ b/activex/vlccontrol.cpp
@@ -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;
 };



More information about the vlc-commits mailing list