Commit 780ba1b9 authored by Christophe Massiot's avatar Christophe Massiot

* Bumped up version number to 0.5.2

* Fix for the "lock-up" problem under MacOS X. Removed the rt-priority
  configuration variable.
parent 74912d2f
$Id: NEWS,v 1.31 2003/03/09 19:44:16 gbazin Exp $ $Id: NEWS,v 1.32 2003/03/10 00:04:14 massiot Exp $
Changes between 0.5.1a and 0.5.2: Changes between 0.5.1a and 0.5.2:
-------------------------------- ---------------------------------
Core support: Core support:
* advanced config options are now hidden by default. * advanced config options are now hidden by default
* new --spdif option to use the S/PDIF audio output by default. * new --spdif option to use the S/PDIF audio output by default
* fixed a 'clicking' sound when switching between streams. * fixed a 'clicking' sound when switching between streams
* new bandlimited resampler that should improve audio quality on primarily Mac OS X. * new bandlimited resampler that should improve audio quality on primarily
* fixed a problem with audio over http that caused some web radios to not work. Mac OS X
* fixed a problem with audio over http that caused some web radios to not work
* DTS S/PDIF support
Codecs: Codecs:
* support for DV audio through the ffmpeg library. * support for DV audio through the ffmpeg library
* new but basic MPEG video decoder based on libmpeg2. * support for FLAC audio through libflac
* fixed a major bug in LPCM code ( fixes a problem with iDVD disks ) * new but basic MPEG video decoder based on libmpeg2
* fixed a major bug in LPCM code (fixes a problem with iDVD disks)
Stream output:
* support for streaming DivX 1/2/3, wmv1/2, h/i263 over MPEG-2 TS
* new --ttl option for Time To Live
DVD support: DVD support:
* fixed quite a few problems with the dvd menu support. * fixed quite a few problems with the dvd menu support
UNIX ports: UNIX ports:
* fixed the GNU-pth support. * fixed the GNU-pth support
Win32 port: Win32 port:
* multi-channel audio and S/PDIF support for both the DirectX and Waveout plugins. * multi-channel audio and S/PDIF support for both the DirectX and Waveout
* localization support via gettext is now fully working. plugins
* rc interface is now fully useable. * localization support via gettext is now fully working
* fixed the MSVC project files generation. * rc interface is now fully useable
* fixed the MSVC project files generation
Mac OS X port: Mac OS X port:
* several fixes for multi channel audio devices. AC3 over SPDIF with M-Audio Sonica Theater still does not work. this is most likely a driver bug and has been reported to M-Audio. ( Sonica, Revolution, Delta, Griffin iMate and MOTU firewire devices should work). * several fixes for multi channel audio devices. AC3 over SPDIF with
* new info panel. M-Audio Sonica Theater still does not work. this is most likely a driver
* very prelimenary support for VLC control via applescript. bug and has been reported to M-Audio. (Sonica, Revolution, Delta, Griffin
iMate and MOTU firewire devices should work)
* VLC now uses the default audio device
* new info panel
* very preliminary support for VLC control via applescript
* support for mouse gestures
* new priority scheme allowing to avoid lock-ups on low-end machines
Linupy port: Linupy port:
* there is a whole new port for the linupy distribution used by o.a. the YOPY PDA. It is still experimental, please test it. * there is a whole new port for the linupy distribution used by o.a. the
YOPY PDA. It is still experimental, please test it
Miscellaneous: Miscellaneous:
* improved ID3 tag detection. * improved ID3 tag detection
* changed several errors into warnings. the frequently reported "this is not a PS stream, continuing" is one of these. * changed several errors into warnings ; the frequently reported "this is
* mouse gestures work on windows and osx, but there still isn't any useful gestures not a PS stream, continuing" is one of these
* mouse gestures work on windows and osx, but there still isn't any useful
gestures
* some support for .pls playlists used by shoutcast * some support for .pls playlists used by shoutcast
Changes between 0.5.1 and 0.5.1a: Changes between 0.5.1 and 0.5.1a:
-------------------------------- ---------------------------------
Mac OS X port: Mac OS X port:
* fixed a problem that caused VLC to select the wrong language when * fixed a problem that caused VLC to select the wrong language when
English was set as the preferred language. English was set as the preferred language
Changes between 0.5.0 and 0.5.1: Changes between 0.5.0 and 0.5.1:
......
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
AC_INIT(vlc,0.5.2-test3) AC_INIT(vlc,0.5.2)
CONFIGURE_LINE="$0 $*" CONFIGURE_LINE="$0 $*"
CODENAME="Natalya" CODENAME="Natalya"
...@@ -11,7 +11,7 @@ AC_CANONICAL_SYSTEM ...@@ -11,7 +11,7 @@ AC_CANONICAL_SYSTEM
dnl XXX: we don't put any flags here, because automake 1.5 doesn't support dnl XXX: we don't put any flags here, because automake 1.5 doesn't support
dnl them. And we need the comma otherwize automake will choke on it. dnl them. And we need the comma otherwize automake will choke on it.
AM_INIT_AUTOMAKE(vlc,0.5.2-test3) AM_INIT_AUTOMAKE(vlc,0.5.2)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
dnl dnl
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
- générer un timestamp de release (par exemple avec 822-date) - générer un timestamp de release (par exemple avec 822-date)
- updater le numéro de version partout où c'est nécessaire - updater le numéro de version partout où c'est nécessaire
· configure.in (relancer autoconf) · configure.ac.in (relancer autoconf)
· vlc.spec · vlc.spec
· ipkg/control · ipkg/control
· debian/changelog · debian/changelog
......
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>VLC</string> <string>VLC</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>VLC media player 0.5.2-test3, Copyright (c) 1996-2003 VideoLAN.</string> <string>VLC media player 0.5.2, Copyright (c) 1996-2003 VideoLAN.</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>vlc.icns</string> <string>vlc.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.5.2-test3</string> <string>0.5.2</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>VLC#</string> <string>VLC#</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
...@@ -403,7 +403,7 @@ ...@@ -403,7 +403,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.5.2-test3</string> <string>0.5.2</string>
<key>NSAppleScriptEnabled</key> <key>NSAppleScriptEnabled</key>
<string>YES</string> <string>YES</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This header provides portable declarations for mutexes & conditions * This header provides portable declarations for mutexes & conditions
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN * Copyright (C) 1999, 2002 VideoLAN
* $Id: vlc_threads.h,v 1.30 2003/03/03 23:48:41 massiot Exp $ * $Id: vlc_threads.h,v 1.31 2003/03/10 00:04:14 massiot Exp $
* *
* Authors: Jean-Marc Dressler <polux@via.ecp.fr> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr> * Samuel Hocevar <sam@via.ecp.fr>
...@@ -72,11 +72,11 @@ ...@@ -72,11 +72,11 @@
/* Thread priorities */ /* Thread priorities */
#ifdef SYS_DARWIN #ifdef SYS_DARWIN
# define VLC_THREAD_PRIORITY_LOW 1 # define VLC_THREAD_PRIORITY_LOW (-47)
# define VLC_THREAD_PRIORITY_INPUT 1 # define VLC_THREAD_PRIORITY_INPUT 37
# define VLC_THREAD_PRIORITY_AUDIO 1 # define VLC_THREAD_PRIORITY_AUDIO 37
# define VLC_THREAD_PRIORITY_VIDEO 1 # define VLC_THREAD_PRIORITY_VIDEO (-47)
# define VLC_THREAD_PRIORITY_OUTPUT 1 # define VLC_THREAD_PRIORITY_OUTPUT 37
#elif defined(WIN32) || defined(UNDER_CE) #elif defined(WIN32) || defined(UNDER_CE)
/* Define different priorities for WinNT/2K/XP and Win9x/Me */ /* Define different priorities for WinNT/2K/XP and Win9x/Me */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* file.c : audio output which writes the samples to a file * file.c : audio output which writes the samples to a file
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: file.c,v 1.16 2003/02/20 01:52:45 sigmunau Exp $ * $Id: file.c,v 1.17 2003/03/10 00:04:14 massiot Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -111,7 +111,7 @@ vlc_module_begin(); ...@@ -111,7 +111,7 @@ vlc_module_begin();
add_string( "audiofile-path", "audiofile.wav", NULL, PATH_TEXT, add_string( "audiofile-path", "audiofile.wav", NULL, PATH_TEXT,
PATH_LONGTEXT, VLC_FALSE ); PATH_LONGTEXT, VLC_FALSE );
add_bool( "audiofile-wav", 1, NULL, WAV_TEXT, WAV_LONGTEXT, VLC_TRUE ); add_bool( "audiofile-wav", 1, NULL, WAV_TEXT, WAV_LONGTEXT, VLC_TRUE );
set_description( _("file audio output module") ); set_description( N_("file audio output module") );
set_capability( "audio output", 0 ); set_capability( "audio output", 0 );
add_shortcut( "file" ); add_shortcut( "file" );
add_shortcut( "audiofile" ); add_shortcut( "audiofile" );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* libvlc.h: main libvlc header * libvlc.h: main libvlc header
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2002 VideoLAN * Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.h,v 1.47 2003/03/06 09:58:00 massiot Exp $ * $Id: libvlc.h,v 1.48 2003/03/10 00:04:14 massiot Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -578,10 +578,6 @@ vlc_module_begin(); ...@@ -578,10 +578,6 @@ vlc_module_begin();
add_integer( "win9x-cv-method", 0, NULL, WIN9X_CV_TEXT, WIN9X_CV_LONGTEXT, VLC_TRUE ); add_integer( "win9x-cv-method", 0, NULL, WIN9X_CV_TEXT, WIN9X_CV_LONGTEXT, VLC_TRUE );
#endif #endif
#if defined(SYS_DARWIN)
add_integer( "rt-priority", 1, NULL, RT_PRIORITY_TEXT, NULL, VLC_TRUE );
#endif
/* Usage (mainly useful for cmd line stuff) */ /* Usage (mainly useful for cmd line stuff) */
add_usage_hint( PLAYLIST_USAGE ); add_usage_hint( PLAYLIST_USAGE );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* threads.c : threads implementation for the VideoLAN client * threads.c : threads implementation for the VideoLAN client
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000, 2001, 2002 VideoLAN * Copyright (C) 1999, 2000, 2001, 2002 VideoLAN
* $Id: threads.c,v 1.39 2003/03/04 23:36:57 massiot Exp $ * $Id: threads.c,v 1.40 2003/03/10 00:04:14 massiot Exp $
* *
* Authors: Jean-Marc Dressler <polux@via.ecp.fr> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -614,18 +614,26 @@ int __vlc_thread_create( vlc_object_t *p_this, char * psz_file, int i_line, ...@@ -614,18 +614,26 @@ int __vlc_thread_create( vlc_object_t *p_this, char * psz_file, int i_line,
#ifdef SYS_DARWIN #ifdef SYS_DARWIN
if ( i_priority ) if ( i_priority )
{ {
int i_error; int i_error, i_policy;
struct sched_param param; struct sched_param param;
memset( &param, 0, sizeof(struct sched_param) ); memset( &param, 0, sizeof(struct sched_param) );
param.sched_priority = config_GetInt( p_this, "rt-priority" ); if ( i_priority < 0 )
{
param.sched_priority = (-1) * i_priority;
i_policy = SCHED_OTHER;
}
else
{
param.sched_priority = i_priority;
i_policy = SCHED_RR;
}
if ( (i_error = pthread_setschedparam( p_this->thread_id, if ( (i_error = pthread_setschedparam( p_this->thread_id,
SCHED_RR, &param )) ) i_policy, &param )) )
{ {
msg_Warn( p_this, "couldn't go to real-time priority (%s:%d): %s", msg_Warn( p_this, "couldn't set thread priority (%s:%d): %s",
psz_file, i_line, strerror(i_error) ); psz_file, i_line, strerror(i_error) );
i_priority = 0; i_priority = 0;
} }
} }
#endif #endif
...@@ -702,14 +710,23 @@ int __vlc_thread_set_priority( vlc_object_t *p_this, char * psz_file, ...@@ -702,14 +710,23 @@ int __vlc_thread_set_priority( vlc_object_t *p_this, char * psz_file,
#ifdef SYS_DARWIN #ifdef SYS_DARWIN
if ( i_priority ) if ( i_priority )
{ {
int i_error; int i_error, i_policy;
struct sched_param param; struct sched_param param;
memset( &param, 0, sizeof(struct sched_param) ); memset( &param, 0, sizeof(struct sched_param) );
param.sched_priority = config_GetInt( p_this, "rt-priority" ); if ( i_priority < 0 )
{
param.sched_priority = (-1) * i_priority;
i_policy = SCHED_OTHER;
}
else
{
param.sched_priority = i_priority;
i_policy = SCHED_RR;
}
if ( (i_error = pthread_setschedparam( pthread_self(), if ( (i_error = pthread_setschedparam( pthread_self(),
SCHED_RR, &param )) ) i_policy, &param )) )
{ {
msg_Warn( p_this, "couldn't go to real-time priority (%s:%d): %s", msg_Warn( p_this, "couldn't set thread priority (%s:%d): %s",
psz_file, i_line, strerror(i_error) ); psz_file, i_line, strerror(i_error) );
i_priority = 0; i_priority = 0;
} }
......
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