npapi-vlc | branch: master | Sergey Radionov <[email protected]> | 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 <[email protected]>

> 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;
 };

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to