*****************************************************************************/
#include "config.h"
-#ifdef HAVE_MOZILLA_CONFIG_H
-# include <mozilla-config.h>
-#endif
-
#include "vlcplugin.h"
#include "control/npolibvlc.h"
#include <ctype.h>
+
#if defined(XP_UNIX)
# include <pthread.h>
#elif defined(XP_WIN)
#include <stdio.h>
#include <assert.h>
+#include <stdlib.h>
/*****************************************************************************
* utilitiy functions
bool EventObj::insert(const NPString &s, NPObject *l, bool b)
{
- event_t e = find_event(s.utf8characters);
+ event_t e = find_event(s.UTF8Characters);
if( e>=maxbit() )
return false;
bool EventObj::remove(const NPString &s, NPObject *l, bool b)
{
- event_t e = find_event(s.utf8characters);
+ event_t e = find_event(s.UTF8Characters);
if( e>=maxbit() || !get(e) )
return false;
/* locate VLC module path */
#ifdef XP_MACOSX
- ppsz_argv[ppsz_argc++] = "--plugin-path=/Library/Internet\\ Plug-Ins/VLC\\ Plugin.plugin/Contents/MacOS/modules";
+ ppsz_argv[ppsz_argc++] = "--plugin-path=/Library/Internet\\ Plug-Ins/VLC\\ Plugin.plugin/Contents/MacOS/plugins";
ppsz_argv[ppsz_argc++] = "--vout=minimal_macosx";
#elif defined(XP_WIN)
HKEY h_key;
ppsz_argv[ppsz_argc++] = "--no-media-library";
ppsz_argv[ppsz_argc++] = "--intf=dummy";
ppsz_argv[ppsz_argc++] = "--no-video-title-show";
+ ppsz_argv[ppsz_argc++] = "--no-xlib";
const char *progid = NULL;