Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
406929a4
Commit
406929a4
authored
Apr 08, 2003
by
Christophe Massiot
Browse files
* Fixed the translation option with Mac OS X.
parent
ea6d9b7a
Changes
4
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
406929a4
$Id: NEWS,v 1.3
6
2003/04/0
6 23:00:24 hartman
Exp $
$Id: NEWS,v 1.3
7
2003/04/0
8 08:35:59 massiot
Exp $
Changes between 0.5.2 and 0.5.3:
---------------------------------
...
...
@@ -10,6 +10,7 @@ Core Support:
* video outputs are now destroyed when the associated input ends
* the video output takes into account the caching delay introduced at the
input level before dropping out of date frames.
* configuration option to disable the translation of the interface
Input access:
* fixed HTTP redirects
...
...
@@ -30,7 +31,7 @@ Codecs:
* support for SAMI subtitles (untested and incomplete)
* better SSA4 subtitles recognition
* new codec for raw I420 video
* improvements to the libmpeg2
based MPEG video decoder
* improvements to the libmpeg2
-
based MPEG video decoder
Interfaces:
* improvements to wxWindows based interface
...
...
src/libvlc.c
View file @
406929a4
...
...
@@ -2,7 +2,7 @@
* libvlc.c: main libvlc source
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.c,v 1.7
6
2003/04/0
7 21:51:27
massiot Exp $
* $Id: libvlc.c,v 1.7
7
2003/04/0
8 08:35:59
massiot Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -331,7 +331,6 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
config_LoadConfigFile
(
p_vlc
,
"main"
);
config_LoadCmdLine
(
p_vlc
,
&
i_argc
,
ppsz_argv
,
VLC_TRUE
);
# ifndef SYS_DARWIN
if
(
!
config_GetInt
(
p_vlc
,
"translation"
)
)
{
/* Reset the default domain */
...
...
@@ -343,7 +342,6 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
module_InitBank
(
&
libvlc
);
module_LoadMain
(
&
libvlc
);
}
# endif
#endif
/*
...
...
@@ -1037,6 +1035,11 @@ static void SetLanguage ( char const *psz_lang )
else
{
setlocale
(
LC_ALL
,
psz_lang
);
#ifdef SYS_DARWIN
/* I need that under Darwin, please check it doesn't disturb
* other platforms. --Meuuh */
setenv
(
"LANG"
,
psz_lang
,
1
);
#endif
}
/* Specify where to find the locales for current domain */
...
...
src/libvlc.h
View file @
406929a4
...
...
@@ -2,7 +2,7 @@
* libvlc.h: main libvlc header
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.h,v 1.5
5
2003/04/0
6 23:44
:5
3
massiot Exp $
* $Id: libvlc.h,v 1.5
6
2003/04/0
8 08:35
:5
9
massiot Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -448,9 +448,7 @@ vlc_module_begin();
add_integer_with_short
(
"verbose"
,
'v'
,
-
1
,
NULL
,
VERBOSE_TEXT
,
VERBOSE_LONGTEXT
,
VLC_FALSE
);
add_bool_with_short
(
"quiet"
,
'q'
,
0
,
NULL
,
QUIET_TEXT
,
QUIET_LONGTEXT
,
VLC_TRUE
);
#ifndef SYS_DARWIN
add_bool
(
"translation"
,
1
,
NULL
,
TRANSLATION_TEXT
,
TRANSLATION_LONGTEXT
,
VLC_FALSE
);
#endif
add_bool
(
"color"
,
0
,
NULL
,
COLOR_TEXT
,
COLOR_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"advanced"
,
0
,
NULL
,
ADVANCED_TEXT
,
ADVANCED_LONGTEXT
,
VLC_FALSE
);
add_string
(
"search-path"
,
NULL
,
NULL
,
INTF_PATH_TEXT
,
INTF_PATH_LONGTEXT
,
VLC_TRUE
);
...
...
src/misc/darwin_specific.m
View file @
406929a4
...
...
@@ -2,7 +2,7 @@
* darwin_specific.m: Darwin specific features
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: darwin_specific.m,v 1.1
2
2003/0
2/17 23:47:29 hartman
Exp $
* $Id: darwin_specific.m,v 1.1
3
2003/0
4/08 08:36:00 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -28,6 +28,10 @@
#include <Cocoa/Cocoa.h>
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
/*****************************************************************************
* system_Init: fill in program path & retrieve language
*****************************************************************************/
...
...
@@ -41,6 +45,7 @@ static int FindLanguage( const char * psz_lang )
"English"
,
"en"
,
"French"
,
"fr"
,
"Italian"
,
"it"
,
"Japanese"
,
"ja"
,
"Dutch"
,
"nl"
,
"Norwegian"
,
"no"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment