[vlc-commits] NPAPI: accept fullscreenenabled as param

Jean-Baptiste Kempf git at videolan.org
Sat Aug 2 21:30:51 CEST 2014


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Aug  2 21:30:29 2014 +0200| [50faeb01554f949fca32e4e2c1c7907eb7ba33a5] | committer: Jean-Baptiste Kempf

NPAPI: accept fullscreenenabled as param

Ref #11487

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

 npapi/vlcplugin_base.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index c240249..9c7ea17 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -167,7 +167,8 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
             set_autoplay(boolValue(argv[i]));
         }
         else if( !strcmp( argn[i], "fullscreen" )
-              || !strcmp( argn[i], "allowfullscreen" ) )
+              || !strcmp( argn[i], "allowfullscreen" )
+              || !strcmp( argn[i], "fullscreenenabled" ) )
         {
             set_enable_fs( boolValue(argv[i]) );
         }



More information about the vlc-commits mailing list