Commit 14b46dee authored by Sam Hocevar's avatar Sam Hocevar

* ./src/libvlc.c: added a debug message to test the translation system.

  * updated the .po files.
parent c84f4ce5
...@@ -393,3 +393,9 @@ the Boston strangler is to the woman home alone. ...@@ -393,3 +393,9 @@ the Boston strangler is to the woman home alone.
-- #videolan -- #videolan
% %
<bbp> et de toute faon ca sert a rien de coder sur vlc, ils changent tout a
chaque fois entre le moment ou on commence a crire sa premire ligne
de code et celui o on crit la deuxime
-- #c00lz
%
# libvlc # libvlc
include/interface.h
src/libvlc.c src/libvlc.c
src/libvlc.h src/libvlc.h
src/misc/configuration.c src/misc/configuration.c
include/interface.h
# access modules # access modules
modules/access/dvd/dvd.c modules/access/dvd/dvd.c
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* input_ext-intf.c: services to the interface * input_ext-intf.c: services to the interface
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: input_ext-intf.c,v 1.45 2002/12/18 14:17:11 sam Exp $ * $Id: input_ext-intf.c,v 1.46 2002/12/25 23:39:01 sam Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
...@@ -355,10 +355,10 @@ int input_ChangeArea( input_thread_t * p_input, input_area_t * p_area ) ...@@ -355,10 +355,10 @@ int input_ChangeArea( input_thread_t * p_input, input_area_t * p_area )
/**************************************************************************** /****************************************************************************
* input_ChangeProgram: interface request a program change * input_ChangeProgram: interface request a program change
****************************************************************************/ ****************************************************************************/
int input_ChangeProgram( input_thread_t * p_input, u16 i_program_number ) int input_ChangeProgram( input_thread_t * p_input, uint16_t i_program_number )
{ {
pgrm_descriptor_t * p_program; pgrm_descriptor_t * p_program;
vlc_mutex_lock( &p_input->stream.stream_lock ); vlc_mutex_lock( &p_input->stream.stream_lock );
p_program = input_FindProgram( p_input, i_program_number ); p_program = input_FindProgram( p_input, i_program_number );
...@@ -370,7 +370,7 @@ int input_ChangeProgram( input_thread_t * p_input, u16 i_program_number ) ...@@ -370,7 +370,7 @@ int input_ChangeProgram( input_thread_t * p_input, u16 i_program_number )
} }
p_input->stream.p_new_program = p_program; p_input->stream.p_new_program = p_program;
vlc_mutex_unlock( &p_input->stream.stream_lock ); vlc_mutex_unlock( &p_input->stream.stream_lock );
return 0; return 0;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* libvlc.c: main libvlc source * libvlc.c: main libvlc source
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2002 VideoLAN * Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.c,v 1.53 2002/12/14 19:43:25 gbazin Exp $ * $Id: libvlc.c,v 1.54 2002/12/25 23:39:01 sam 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>
...@@ -229,6 +229,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] ) ...@@ -229,6 +229,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
* Support for gettext * Support for gettext
*/ */
SetLanguage( "" ); SetLanguage( "" );
msg_Dbg( p_vlc, "translation test: code is \"%s\"", _("C") );
/* /*
* System specific initialization code * System specific initialization code
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlc.c: the vlc player * vlc.c: the vlc player
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: vlc.c,v 1.18 2002/11/13 15:28:24 sam Exp $ * $Id: vlc.c,v 1.19 2002/12/25 23:39:01 sam 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>
...@@ -103,7 +103,7 @@ int main( int i_argc, char *ppsz_argv[] ) ...@@ -103,7 +103,7 @@ int main( int i_argc, char *ppsz_argv[] )
/* Add a blocking interface and keep the return value */ /* Add a blocking interface and keep the return value */
i_ret = VLC_AddIntf( 0, NULL, VLC_TRUE ); i_ret = VLC_AddIntf( 0, NULL, VLC_TRUE );
/* Finish the threads */ /* Finish the threads */
VLC_Stop( 0 ); VLC_Stop( 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