--plugin-path command line option.
* INSTALL.win32: removed note about running in administrator mode to play
a DVD.
0.4.5
**
+ * src/interface/main.c, src/misc/modules.c: added a quick hack for a
+ --plugin-path command line option.
+ * INSTALL.win32: removed note about running in administrator mode to play
+ a DVD.
+ * ./plugins/beos/InterfaceWindow.cpp: user can now drop a DVD disk icon
+ onto the interface or playlist window to open a DVD.
* ./plugins/x11/xcommon.c: we include Xmd.h before dpms.h (compilation fix
for Solaris).
* ALL: many BeOS fixes and enhancements.
* ./plugins/qte: Qt/embedded video output.
* ./plugins/network/ipv4.c: added a --iface-addr option to select which
interface to use for multicast sockets.
- * configure.in, configure: user -mms-bitfields instead of -fnative-struct
+ * configure.in, configure: use -mms-bitfields instead of -fnative-struct
for mingw32 gcc-3.x.
* include/interface.h, plugins/dummy/intf_dummy.c, plugins/text/logger.c,
plugins/text/rc.c: display message on Win32 explaining how to get back
If you want to play a DVD, run vlc and click on the Disc option in the
interface. You then have to type your drive letter in the 'Device name'
box (eg. 'D' if this is the letter for your dvdrom drive).
-( !WARNING: you have to be in administrator mode (for now) on Win2k/XP or the
- DVD won't play. )
Building VideoLAN Client from the source code
=============================================
* and spawn threads.
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
- * $Id: main.c,v 1.195.2.8 2002/10/01 22:26:39 massiot Exp $
+ * $Id: main.c,v 1.195.2.9 2002/10/11 09:01:18 gbazin Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
"This option allows you to set the default path that the interface will " \
"open when looking for a file.")
+#define PLUGIN_PATH_TEXT N_("plugin search path")
+#define PLUGIN_PATH_LONGTEXT N_( \
+ "This option allows you to specify an additional path for vlc to look " \
+ "for its plugins.")
+
#define AOUT_TEXT N_("audio output module")
#define AOUT_LONGTEXT N_( \
"This option allows you to select the audio audio output method used by " \
ADD_INTEGER ( "warning", 0, NULL, WARNING_TEXT, WARNING_LONGTEXT )
ADD_BOOL ( "stats", 0, NULL, STATS_TEXT, STATS_LONGTEXT )
ADD_STRING ( "search-path", NULL, NULL, INTF_PATH_TEXT, INTF_PATH_LONGTEXT )
+ADD_STRING ( "plugin-path", NULL, NULL, PLUGIN_PATH_TEXT, PLUGIN_PATH_LONGTEXT )
/* Audio options */
ADD_CATEGORY_HINT( N_("Audio"), NULL)
* modules.c : Built-in and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.62 2002/05/22 19:31:33 gbazin Exp $
+ * $Id: modules.c,v 1.62.2.1 2002/10/11 09:01:18 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
DIR * dir;
struct dirent * file;
+ /* If the user provided a plugin path, we add it to the list */
+ path[ sizeof(path)/sizeof(char*) - 2 ] =
+ config_GetPszVariable( "plugin-path" );
+
for( ; *ppsz_path != NULL ; ppsz_path++ )
{
/* Store strlen(*ppsz_path) for later use. */
}
#endif
}
+
+ /* Free plugin-path */
+ free( path[ sizeof(path)/sizeof(char*) - 2 ] );
+ path[ sizeof(path)/sizeof(char*) - 2 ] = NULL;
}
/*****************************************************************************