Commit 77d515ff authored by Sam Hocevar's avatar Sam Hocevar

  * ./configure.in: BeOS, liba52 and chroma plugin compilation fixes.
  * ./plugins/dvd/dvd_access.c: removed a warning.
  * ./src/misc/configuration.c: Solaris fixes by Meuuh.
  * ./FAQ: removed outdated stuff.
parent f9a7f0e8
Frequentely Asked Questions for VideoLAN Client Frequentely Asked Questions for VideoLAN Client
$Id: FAQ,v 1.4 2001/11/27 13:06:23 massiot Exp $ $Id: FAQ,v 1.5 2002/04/02 10:17:08 sam Exp $
1. Using VLC 1. Using VLC
...@@ -28,7 +28,7 @@ It should disappear after a few seconds if you stop moving the mouse. ...@@ -28,7 +28,7 @@ It should disappear after a few seconds if you stop moving the mouse.
#@!£% *$@&§% !@# bloat ? #@!£% *$@&§% !@# bloat ?
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
You can run : You can run :
vlc -I dummy myfile.mpg vlc --intf dummy myfile.mpg
Most commands are available from the command line, see vlc --help for Most commands are available from the command line, see vlc --help for
more information. more information.
...@@ -45,10 +45,10 @@ instance : ...@@ -45,10 +45,10 @@ instance :
------------------------------------------------------- -------------------------------------------------------
First you must set up a VLS or VLMS stream. Please refer to the First you must set up a VLS or VLMS stream. Please refer to the
documentation of these programs. Then start VLC : documentation of these programs. Then start VLC :
vlc udpstream: vlc udp:
You shouldn't need any option. If you're paranoid and want to control You shouldn't need any option. If you're paranoid and want to control
everything, here is the exact syntax : everything, here is the exact syntax :
vlc udpstream:[<server>[:<server port>]][@[<bind address>][:<bind port>]] vlc udp:[<server>[:<server port>]][@[<bind address>][:<bind port>]]
2. Troubleshooting 2. Troubleshooting
...@@ -72,23 +72,17 @@ chmod 666 /dev/hdc ...@@ -72,23 +72,17 @@ chmod 666 /dev/hdc
* Do you have a link from /dev/dvd to your real DVD device ? For instance * Do you have a link from /dev/dvd to your real DVD device ? For instance
ln -s hdc /dev/dvd ln -s hdc /dev/dvd
2.3 Running vlc pussycat.mpg doesn't do anything... 2.3 [REMOVED]
------------------------------------------------ -------------
Probably your MPEG-1 file doesn't have any system layer. This is common
for MPEG-1 streams without any audio track. Currently VLC doesn't
automatically detect this format, so you have to manually select it :
vlc --input es pussycat.mpg
2.4 The video runs but the picture is distorted... 2.4 The video runs but the picture is distorted...
----------------------------------------------- -----------------------------------------------
There is probably a problem with the output layer. There are several There is probably a problem with the output layer. There are several
ways of troubleshooting it. First, try with another output plug-in, for ways of troubleshooting it. First, try with another output plug-in, for
instance : instance :
vlc -V sdl vlc --vout sdl
vlc -V x11 vlc --vout x11
Second, try with an unoptimized YUV transform : Second, change your screen depth and/or definition. It quite often helps.
vlc --yuv yuv
Third, change your screen depth and/or definition. It quite often helps.
Lastly, have a look at your XFree86 video driver (nVidia for instance Lastly, have a look at your XFree86 video driver (nVidia for instance
releases optimized drivers for its boards). releases optimized drivers for its boards).
...@@ -110,17 +104,16 @@ This is not normal ; it is a known problem and is being investigated. ...@@ -110,17 +104,16 @@ This is not normal ; it is a known problem and is being investigated.
2.7 Audio and video are out of sync 2.7 Audio and video are out of sync
----------------------------------- -----------------------------------
This is not normal. Try using another output plug-in (for instance -A dsp), This is not normal. Try using another output plug-in (for instance --aout dsp),
kill esd or artsd if they are running... This is a known problem and kill esd or artsd if they are running... This is a known problem and
is being investigated. is being investigated.
2.8 On some DVDs the subtitles are unreadable 2.8 [REMOVED]
--------------------------------------------- -------------
This is a known bug and is being investigated.
2.9 Sound volume is too low 2.9 Sound volume is too low
---------------------------- ----------------------------
You can raise it with --volume command-line switch. You can raise it with --volume commandline switch.
3. Ports and features 3. Ports and features
......
...@@ -73,6 +73,7 @@ LIB_AA = @LIB_AA@ ...@@ -73,6 +73,7 @@ LIB_AA = @LIB_AA@
LIB_ALSA = @LIB_ALSA@ LIB_ALSA = @LIB_ALSA@
LIB_ARTS = @LIB_ARTS@ LIB_ARTS = @LIB_ARTS@
LIB_BEOS = @LIB_BEOS@ LIB_BEOS = @LIB_BEOS@
LIB_CHROMA_I420_RGB = @LIB_CHROMA_I420_RGB@
LIB_DARWIN = @LIB_DARWIN@ LIB_DARWIN = @LIB_DARWIN@
LIB_DIRECTX = @LIB_DIRECTX@ LIB_DIRECTX = @LIB_DIRECTX@
LIB_DSP = @LIB_DSP@ LIB_DSP = @LIB_DSP@
......
This diff is collapsed.
...@@ -89,8 +89,9 @@ case x"${target_os}" in ...@@ -89,8 +89,9 @@ case x"${target_os}" in
;; ;;
xbeos) xbeos)
SYS=beos SYS=beos
LIB_IPV4="${LIB_IPV4} -lbind" LIB_VLC="${LIB_VLC} -lbe"
LIB_BEOS="${LIB_BEOS} -lbe -lgame -lroot -ltracker" LIB_BEOS="${LIB_BEOS} -lbe -lgame -lroot -ltracker"
LIB_IPV4="${LIB_IPV4} -lbind"
PLDFLAGS="${PLDFLAGS} -nostart" PLDFLAGS="${PLDFLAGS} -nostart"
;; ;;
x*) x*)
...@@ -147,6 +148,7 @@ AC_CHECK_LIB(m,pow, ...@@ -147,6 +148,7 @@ AC_CHECK_LIB(m,pow,
LIB_IMDCT="${LIB_IMDCT} -lm" LIB_IMDCT="${LIB_IMDCT} -lm"
LIB_IMDCT3DN="${LIB_IMDCT3DN} -lm" LIB_IMDCT3DN="${LIB_IMDCT3DN} -lm"
LIB_IMDCTSSE="${LIB_IMDCTSSE} -lm" LIB_IMDCTSSE="${LIB_IMDCTSSE} -lm"
LIB_CHROMA_I420_RGB="${LIB_CHROMA_I420_RGB} -lm"
) )
dnl Check for pthreads - borrowed from XMMS dnl Check for pthreads - borrowed from XMMS
...@@ -923,7 +925,7 @@ if test "x$enableval" != "xno" -a x$SYS != xmingw32 ...@@ -923,7 +925,7 @@ if test "x$enableval" != "xno" -a x$SYS != xmingw32
then then
AC_CHECK_HEADERS(a52dec/a52.h, [ AC_CHECK_HEADERS(a52dec/a52.h, [
BUILTINS="${BUILTINS} a52" BUILTINS="${BUILTINS} a52"
LIB_A52="${LIB_A52} -la52" LIB_A52="${LIB_A52} -la52 -lm"
],[]) ],[])
fi fi
...@@ -1609,6 +1611,7 @@ AC_SUBST(LIB_AA) ...@@ -1609,6 +1611,7 @@ AC_SUBST(LIB_AA)
AC_SUBST(LIB_ALSA) AC_SUBST(LIB_ALSA)
AC_SUBST(LIB_ARTS) AC_SUBST(LIB_ARTS)
AC_SUBST(LIB_BEOS) AC_SUBST(LIB_BEOS)
AC_SUBST(LIB_CHROMA_I420_RGB)
AC_SUBST(LIB_DARWIN) AC_SUBST(LIB_DARWIN)
AC_SUBST(LIB_DIRECTX) AC_SUBST(LIB_DIRECTX)
AC_SUBST(LIB_DSP) AC_SUBST(LIB_DSP)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* i420_rgb16.c : YUV to bitmap RGB conversion module for vlc * i420_rgb16.c : YUV to bitmap RGB conversion module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: i420_rgb16.c,v 1.5 2002/03/17 17:00:38 sam Exp $ * $Id: i420_rgb16.c,v 1.6 2002/04/02 10:17:08 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <math.h> /* exp(), pow() */
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <string.h> /* strerror() */ #include <string.h> /* strerror() */
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* i420_rgb8.c : YUV to bitmap RGB conversion module for vlc * i420_rgb8.c : YUV to bitmap RGB conversion module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: i420_rgb8.c,v 1.4 2002/03/19 00:30:44 sam Exp $ * $Id: i420_rgb8.c,v 1.5 2002/04/02 10:17:08 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <math.h> /* exp(), pow() */
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <string.h> /* strerror() */ #include <string.h> /* strerror() */
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* i420_ymga.c : YUV to YUV conversion module for vlc * i420_ymga.c : YUV to YUV conversion module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: i420_ymga.c,v 1.3 2002/03/16 23:03:19 sam Exp $ * $Id: i420_ymga.c,v 1.4 2002/04/02 10:17:08 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <math.h> /* exp(), pow() */
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <string.h> /* strerror() */ #include <string.h> /* strerror() */
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* i420_yuy2.c : YUV to YUV conversion module for vlc * i420_yuy2.c : YUV to YUV conversion module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: i420_yuy2.c,v 1.3 2002/03/16 23:03:19 sam Exp $ * $Id: i420_yuy2.c,v 1.4 2002/04/02 10:17:08 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <math.h> /* exp(), pow() */
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <string.h> /* strerror() */ #include <string.h> /* strerror() */
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* i422_yuy2.c : YUV to YUV conversion module for vlc * i422_yuy2.c : YUV to YUV conversion module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: i422_yuy2.c,v 1.3 2002/03/16 23:03:19 sam Exp $ * $Id: i422_yuy2.c,v 1.4 2002/04/02 10:17:08 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <math.h> /* exp(), pow() */
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <string.h> /* strerror() */ #include <string.h> /* strerror() */
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* -dvd_udf to find files * -dvd_udf to find files
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: dvd_access.c,v 1.11 2002/03/28 10:17:06 gbazin Exp $ * $Id: dvd_access.c,v 1.12 2002/04/02 10:17:08 sam Exp $
* *
* Author: Stphane Borel <stef@via.ecp.fr> * Author: Stphane Borel <stef@via.ecp.fr>
* *
...@@ -79,7 +79,7 @@ static int DVDOpen ( struct input_thread_s * ); ...@@ -79,7 +79,7 @@ static int DVDOpen ( struct input_thread_s * );
static void DVDClose ( struct input_thread_s * ); static void DVDClose ( struct input_thread_s * );
static int DVDSetArea ( struct input_thread_s *, struct input_area_s * ); static int DVDSetArea ( struct input_thread_s *, struct input_area_s * );
static int DVDSetProgram ( struct input_thread_s *, pgrm_descriptor_t * ); static int DVDSetProgram ( struct input_thread_s *, pgrm_descriptor_t * );
static int DVDRead ( struct input_thread_s *, byte_t *, size_t ); static ssize_t DVDRead ( struct input_thread_s *, byte_t *, size_t );
static void DVDSeek ( struct input_thread_s *, off_t ); static void DVDSeek ( struct input_thread_s *, off_t );
static char * DVDParse( input_thread_t * ); static char * DVDParse( input_thread_t * );
...@@ -505,8 +505,8 @@ static int DVDSetArea( input_thread_t * p_input, input_area_t * p_area ) ...@@ -505,8 +505,8 @@ static int DVDSetArea( input_thread_t * p_input, input_area_t * p_area )
* Returns -1 in case of error, 0 in case of EOF, otherwise the number of * Returns -1 in case of error, 0 in case of EOF, otherwise the number of
* bytes. * bytes.
*****************************************************************************/ *****************************************************************************/
static int DVDRead( input_thread_t * p_input, static ssize_t DVDRead( input_thread_t * p_input,
byte_t * p_buffer, size_t i_count ) byte_t * p_buffer, size_t i_count )
{ {
thread_dvd_data_t * p_dvd; thread_dvd_data_t * p_dvd;
int i_read; int i_read;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* configuration.c management of the modules configuration * configuration.c management of the modules configuration
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: configuration.c,v 1.11 2002/03/26 23:08:40 gbazin Exp $ * $Id: configuration.c,v 1.12 2002/04/02 10:17:08 sam Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -308,8 +308,8 @@ int config_LoadConfigFile( const char *psz_module_name ) ...@@ -308,8 +308,8 @@ int config_LoadConfigFile( const char *psz_module_name )
file = fopen( psz_filename, "r" ); file = fopen( psz_filename, "r" );
if( !file ) if( !file )
{ {
intf_WarnMsg( 1, "config: couldn't open config file %s for reading", intf_WarnMsg( 1, "config: couldn't open config file %s for reading (%s)",
psz_filename ); psz_filename, strerror(errno) );
free( psz_filename ); free( psz_filename );
vlc_mutex_unlock( &p_main->config_lock ); vlc_mutex_unlock( &p_main->config_lock );
return -1; return -1;
...@@ -401,7 +401,9 @@ int config_LoadConfigFile( const char *psz_module_name ) ...@@ -401,7 +401,9 @@ int config_LoadConfigFile( const char *psz_module_name )
intf_WarnMsg( 7, "config: found <%s> option %s=%s", intf_WarnMsg( 7, "config: found <%s> option %s=%s",
p_module->psz_name, p_module->psz_name,
p_module->p_config[i].psz_name, p_module->p_config[i].psz_name,
p_module->p_config[i].psz_value ); p_module->p_config[i].psz_value != NULL ?
p_module->p_config[i].psz_value :
"(NULL)" );
break; break;
} }
} }
...@@ -467,10 +469,15 @@ int config_SaveConfigFile( const char *psz_module_name ) ...@@ -467,10 +469,15 @@ int config_SaveConfigFile( const char *psz_module_name )
} }
sprintf( psz_filename, "%s/" CONFIG_DIR, psz_homedir ); sprintf( psz_filename, "%s/" CONFIG_DIR, psz_homedir );
#ifndef WIN32 #ifndef WIN32
mkdir( psz_filename, 0755 ); i = mkdir( psz_filename, 0755 );
#else #else
mkdir( psz_filename ); i = mkdir( psz_filename );
#endif #endif
if( i )
{
intf_ErrMsg("Couldn't create %s (%s)", psz_filename, strerror(errno));
}
strcat( psz_filename, "/" CONFIG_FILE ); strcat( psz_filename, "/" CONFIG_FILE );
...@@ -479,8 +486,8 @@ int config_SaveConfigFile( const char *psz_module_name ) ...@@ -479,8 +486,8 @@ int config_SaveConfigFile( const char *psz_module_name )
file = fopen( psz_filename, "r" ); file = fopen( psz_filename, "r" );
if( !file ) if( !file )
{ {
intf_WarnMsg( 1, "config: couldn't open config file %s for reading", intf_WarnMsg( 1, "config: couldn't open config file %s for reading (%s)",
psz_filename ); psz_filename, strerror(errno) );
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment