]> git.sesse.net Git - vlc/blobdiff - projects/mozilla/vlcshell.cpp
Qt: compressor UI, foolproofing the controls values
[vlc] / projects / mozilla / vlcshell.cpp
index 883205b5311dc9de343e7e94592ab28ddba5519d..829ae7a5da3de60cb804dcad00420dbf83defa36 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-/* This is from mozilla java, do we really need it? */
-#if 0
-#include <jri.h>
-#endif
-
 #include "vlcplugin.h"
 #include "vlcshell.h"
 
@@ -110,7 +105,7 @@ NPError NPP_GetValue( NPP instance, NPPVariable variable, void *value )
     VlcPlugin* p_plugin = reinterpret_cast<VlcPlugin*>(instance->pdata);
     if( NULL == p_plugin )
     {
-        // plugin has not been initialized yet !
+        /* plugin has not been initialized yet ! */
         return NPERR_INVALID_INSTANCE_ERROR;
     }
 
@@ -213,8 +208,7 @@ int16_t NPP_HandleEvent( NPP instance, void * event )
 
                 if( ! hasVout )
                 {
-                    /* draw the beautiful "No Picture" */
-
+                    /* draw the text from p_plugin->psz_text */
                     ForeColor(blackColor);
                     PenMode( patCopy );