Commit 82a67660 authored by Felix Paul Kühne's avatar Felix Paul Kühne

string review by Christophe Mutricy aka xtophe

parent 1e67ea66
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* http.c * http.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: http.c,v 1.9 2004/01/15 22:58:12 gbazin Exp $ * $Id: http.c,v 1.10 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -356,7 +356,7 @@ static int Write( sout_access_out_t *p_access, sout_buffer_t *p_buffer ) ...@@ -356,7 +356,7 @@ static int Write( sout_access_out_t *p_access, sout_buffer_t *p_buffer )
*****************************************************************************/ *****************************************************************************/
static int Seek( sout_access_out_t *p_access, off_t i_pos ) static int Seek( sout_access_out_t *p_access, off_t i_pos )
{ {
msg_Err( p_access, "http sout access cannot seek" ); msg_Err( p_access, "HTTP sout access cannot seek" );
return( VLC_EGENERIC ); return( VLC_EGENERIC );
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* udp.c * udp.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: udp.c,v 1.17 2004/01/23 17:56:14 gbazin Exp $ * $Id: udp.c,v 1.18 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -70,10 +70,10 @@ static sout_buffer_t *NewUDPPacket( sout_access_out_t *, mtime_t ); ...@@ -70,10 +70,10 @@ static sout_buffer_t *NewUDPPacket( sout_access_out_t *, mtime_t );
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
#define CACHING_TEXT N_("caching value in ms") #define CACHING_TEXT N_("Caching value (ms)")
#define CACHING_LONGTEXT N_( \ #define CACHING_LONGTEXT N_( \
"Allows you to modify the default caching value for udp streams. This " \ "Allows you to modify the default caching value for udp streams. This " \
"value should be set in miliseconds units." ) "value should be set in milliseconds." )
vlc_module_begin(); vlc_module_begin();
set_description( _("UDP stream ouput") ); set_description( _("UDP stream ouput") );
...@@ -142,7 +142,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -142,7 +142,7 @@ static int Open( vlc_object_t *p_this )
if( p_access->psz_access != NULL && if( p_access->psz_access != NULL &&
!strcmp( p_access->psz_access, "rtp" ) ) !strcmp( p_access->psz_access, "rtp" ) )
{ {
msg_Warn( p_access, "becarefull that rtp ouput work only with ts " msg_Warn( p_access, "be carefull that rtp ouput work only with ts "
"payload(not an error)" ); "payload(not an error)" );
p_sys->b_rtpts = 1; p_sys->b_rtpts = 1;
} }
...@@ -358,7 +358,7 @@ static int WriteRaw( sout_access_out_t *p_access, sout_buffer_t *p_buffer ) ...@@ -358,7 +358,7 @@ static int WriteRaw( sout_access_out_t *p_access, sout_buffer_t *p_buffer )
*****************************************************************************/ *****************************************************************************/
static int Seek( sout_access_out_t *p_access, off_t i_pos ) static int Seek( sout_access_out_t *p_access, off_t i_pos )
{ {
msg_Err( p_access, "udp sout access cannot seek" ); msg_Err( p_access, "UDP sout access cannot seek" );
return( -1 ); return( -1 );
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* float32.c : precise float32 audio mixer implementation * float32.c : precise float32 audio mixer implementation
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: float32.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $ * $Id: float32.c,v 1.10 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * ); ...@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_description( _("float32 audio mixer") ); set_description( _("Float32 audio mixer") );
set_capability( "audio mixer", 10 ); set_capability( "audio mixer", 10 );
set_callbacks( Create, NULL ); set_callbacks( Create, NULL );
vlc_module_end(); vlc_module_end();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* spdif.c : dummy mixer for S/PDIF output (1 input only) * spdif.c : dummy mixer for S/PDIF output (1 input only)
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: spdif.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $ * $Id: spdif.c,v 1.10 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * ); ...@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_description( _("dummy spdif audio mixer") ); set_description( _("Dummy spdif audio mixer") );
set_capability( "audio mixer", 1 ); set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL ); set_callbacks( Create, NULL );
vlc_module_end(); vlc_module_end();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* trivial.c : trivial mixer plug-in (1 input, no downmixing) * trivial.c : trivial mixer plug-in (1 input, no downmixing)
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: trivial.c,v 1.13 2003/10/25 00:49:13 sam Exp $ * $Id: trivial.c,v 1.14 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * ); ...@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_description( _("trivial audio mixer") ); set_description( _("Trivial audio mixer") );
set_capability( "audio mixer", 1 ); set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL ); set_callbacks( Create, NULL );
vlc_module_end(); vlc_module_end();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* cmd_input.hpp * cmd_input.hpp
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: cmd_input.hpp,v 1.2 2004/01/18 19:54:45 asmax Exp $ * $Id: cmd_input.hpp,v 1.3 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Cyril Deguet <asmax@via.ecp.fr> * Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulière <ipkiss@via.ecp.fr> * Olivier Teulière <ipkiss@via.ecp.fr>
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
#include "cmd_generic.hpp" #include "cmd_generic.hpp"
/// Commands to control the input /// Commands to control the input
DEFINE_COMMAND( Play, "play" ) DEFINE_COMMAND( Play, "Play" )
DEFINE_COMMAND( Pause, "pause" ) DEFINE_COMMAND( Pause, "pause" )
DEFINE_COMMAND( Stop, "stop" ) DEFINE_COMMAND( Stop, "Stop" )
DEFINE_COMMAND( Slower, "slower" ) DEFINE_COMMAND( Slower, "slower" )
DEFINE_COMMAND( Faster, "faster" ) DEFINE_COMMAND( Faster, "faster" )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* builder.cpp * builder.cpp
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: builder.cpp,v 1.3 2004/01/25 11:44:19 asmax Exp $ * $Id: builder.cpp,v 1.4 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Cyril Deguet <asmax@via.ecp.fr> * Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr> * Olivier Teulire <ipkiss@via.ecp.fr>
...@@ -103,7 +103,7 @@ Theme *Builder::build() ...@@ -103,7 +103,7 @@ Theme *Builder::build()
pBmp = m_pTheme->m_bitmaps[id].get(); \ pBmp = m_pTheme->m_bitmaps[id].get(); \
if( pBmp == NULL ) \ if( pBmp == NULL ) \
{ \ { \
msg_Err( getIntf(), "Unknown Bitmap id: %s", id.c_str() ); \ msg_Err( getIntf(), "unknown bitmap id: %s", id.c_str() ); \
return; \ return; \
} \ } \
} }
...@@ -152,7 +152,7 @@ void Builder::addLayout( const BuilderData::Layout &rData ) ...@@ -152,7 +152,7 @@ void Builder::addLayout( const BuilderData::Layout &rData )
GenericWindow *pWin = m_pTheme->m_windows[rData.m_windowId].get(); GenericWindow *pWin = m_pTheme->m_windows[rData.m_windowId].get();
if( pWin == NULL ) if( pWin == NULL )
{ {
msg_Err( getIntf(), "Unknown Window id: %s", rData.m_windowId.c_str() ); msg_Err( getIntf(), "unknown window id: %s", rData.m_windowId.c_str() );
return; return;
} }
...@@ -178,7 +178,7 @@ void Builder::addAnchor( const BuilderData::Anchor &rData ) ...@@ -178,7 +178,7 @@ void Builder::addAnchor( const BuilderData::Anchor &rData )
GenericWindow *pWin = m_pTheme->m_windows[rData.m_windowId].get(); GenericWindow *pWin = m_pTheme->m_windows[rData.m_windowId].get();
if( pWin == NULL ) if( pWin == NULL )
{ {
msg_Err( getIntf(), "Unknown Window id: %s", rData.m_windowId.c_str() ); msg_Err( getIntf(), "unknown window id: %s", rData.m_windowId.c_str() );
return; return;
} }
...@@ -203,7 +203,7 @@ void Builder::addButton( const BuilderData::Button &rData ) ...@@ -203,7 +203,7 @@ void Builder::addButton( const BuilderData::Button &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
...@@ -255,7 +255,7 @@ void Builder::addCheckbox( const BuilderData::Checkbox &rData ) ...@@ -255,7 +255,7 @@ void Builder::addCheckbox( const BuilderData::Checkbox &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
...@@ -310,14 +310,14 @@ void Builder::addImage( const BuilderData::Image &rData ) ...@@ -310,14 +310,14 @@ void Builder::addImage( const BuilderData::Image &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
GenericWindow *pWindow = m_pTheme->m_windows[rData.m_windowId].get(); GenericWindow *pWindow = m_pTheme->m_windows[rData.m_windowId].get();
if( pWindow == NULL ) if( pWindow == NULL )
{ {
msg_Err( getIntf(), "Unknown Window id: %s", rData.m_windowId.c_str() ); msg_Err( getIntf(), "unknown window id: %s", rData.m_windowId.c_str() );
return; return;
} }
...@@ -357,7 +357,7 @@ void Builder::addText( const BuilderData::Text &rData ) ...@@ -357,7 +357,7 @@ void Builder::addText( const BuilderData::Text &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
...@@ -397,7 +397,7 @@ void Builder::addRadialSlider( const BuilderData::RadialSlider &rData ) ...@@ -397,7 +397,7 @@ void Builder::addRadialSlider( const BuilderData::RadialSlider &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
...@@ -444,7 +444,7 @@ void Builder::addSlider( const BuilderData::Slider &rData ) ...@@ -444,7 +444,7 @@ void Builder::addSlider( const BuilderData::Slider &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
...@@ -500,7 +500,7 @@ void Builder::addList( const BuilderData::List &rData ) ...@@ -500,7 +500,7 @@ void Builder::addList( const BuilderData::List &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get(); GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL ) if( pLayout == NULL )
{ {
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() ); msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return; return;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dialogs.cpp * dialogs.cpp
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: dialogs.cpp,v 1.1 2004/01/03 23:31:33 asmax Exp $ * $Id: dialogs.cpp,v 1.2 2004/01/25 17:20:19 kuehne Exp $
* *
* Authors: Cyril Deguet <asmax@via.ecp.fr> * Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr> * Olivier Teulire <ipkiss@via.ecp.fr>
...@@ -169,9 +169,9 @@ void Dialogs::showChangeSkin() ...@@ -169,9 +169,9 @@ void Dialogs::showChangeSkin()
p_arg->b_blocking = false; p_arg->b_blocking = false;
p_arg->psz_title = strdup( _("Open a skin file") ); p_arg->psz_title = strdup( _("Open a skin file.") );
p_arg->psz_extensions = p_arg->psz_extensions =
strdup( "Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|" ); strdup( _("Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|") );
p_arg->p_arg = getIntf(); p_arg->p_arg = getIntf();
p_arg->pf_callback = showChangeSkinCB; p_arg->pf_callback = showChangeSkinCB;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* skin_main.cpp * skin_main.cpp
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.3 2004/01/25 13:59:33 asmax Exp $ * $Id: skin_main.cpp,v 1.4 2004/01/25 17:20:19 kuehne Exp $
* *
* Authors: Cyril Deguet <asmax@via.ecp.fr> * Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr> * Olivier Teulire <ipkiss@via.ecp.fr>
...@@ -212,7 +212,7 @@ static void Run( intf_thread_t *p_intf ) ...@@ -212,7 +212,7 @@ static void Run( intf_thread_t *p_intf )
// Module descriptor // Module descriptor
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#define DEFAULT_SKIN N_("Last skin used") #define DEFAULT_SKIN N_("Last skin used")
#define DEFAULT_SKIN_LONG N_("Select the path to the last skin used") #define DEFAULT_SKIN_LONG N_("Select the path to the last skin used.")
vlc_module_begin(); vlc_module_begin();
// XXX // XXX
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dummy.c : dummy plugin for vlc * dummy.c : dummy plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: dummy.c,v 1.12 2003/12/22 02:24:52 sam Exp $ * $Id: dummy.c,v 1.13 2004/01/25 17:20:19 kuehne Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#endif #endif
vlc_module_begin(); vlc_module_begin();
set_description( _("dummy interface function") ); set_description( _("Dummy interface function") );
set_capability( "interface", 0 ); set_capability( "interface", 0 );
add_shortcut( "vlc" ); add_shortcut( "vlc" );
set_callbacks( E_(OpenIntf), NULL ); set_callbacks( E_(OpenIntf), NULL );
...@@ -64,34 +64,34 @@ vlc_module_begin(); ...@@ -64,34 +64,34 @@ vlc_module_begin();
add_bool( "dummy-quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_FALSE ); add_bool( "dummy-quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_FALSE );
#endif #endif
add_submodule(); add_submodule();
set_description( _("dummy access function") ); set_description( _("Dummy access function") );
set_capability( "access", 0 ); set_capability( "access", 0 );
set_callbacks( E_(OpenAccess), NULL ); set_callbacks( E_(OpenAccess), NULL );
add_submodule(); add_submodule();
set_description( _("dummy demux function") ); set_description( _("Dummy demux function") );
set_capability( "demux", 0 ); set_capability( "demux", 0 );
set_callbacks( E_(OpenDemux), E_(CloseDemux) ); set_callbacks( E_(OpenDemux), E_(CloseDemux) );
add_submodule(); add_submodule();
set_description( _("dummy decoder function") ); set_description( _("Dummy decoder function") );
set_capability( "decoder", 0 ); set_capability( "decoder", 0 );
set_callbacks( E_(OpenDecoder), E_(CloseDecoder) ); set_callbacks( E_(OpenDecoder), E_(CloseDecoder) );
add_bool( "dummy-save-es", 0, NULL, SAVE_TEXT, SAVE_LONGTEXT, VLC_FALSE ); add_bool( "dummy-save-es", 0, NULL, SAVE_TEXT, SAVE_LONGTEXT, VLC_FALSE );
add_submodule(); add_submodule();
set_description( _("dummy encoder function") ); set_description( _("Dummy encoder function") );
set_capability( "encoder", 0 ); set_capability( "encoder", 0 );
set_callbacks( E_(OpenEncoder), E_(CloseEncoder) ); set_callbacks( E_(OpenEncoder), E_(CloseEncoder) );
add_submodule(); add_submodule();
set_description( _("dummy audio output function") ); set_description( _("Dummy audio output function") );
set_capability( "audio output", 1 ); set_capability( "audio output", 1 );
set_callbacks( E_(OpenAudio), NULL ); set_callbacks( E_(OpenAudio), NULL );
add_submodule(); add_submodule();
set_description( _("dummy video output function") ); set_description( _("Dummy video output function") );
set_capability( "video output", 1 ); set_capability( "video output", 1 );
set_callbacks( E_(OpenVideo), NULL ); set_callbacks( E_(OpenVideo), NULL );
add_category_hint( N_("Video"), NULL, VLC_FALSE ); add_category_hint( N_("Video"), NULL, VLC_FALSE );
add_string( "dummy-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT, VLC_FALSE ); add_string( "dummy-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT, VLC_FALSE );
add_submodule(); add_submodule();
set_description( _("dummy font renderer function") ); set_description( _("Dummy font renderer function") );
set_capability( "text renderer", 1 ); set_capability( "text renderer", 1 );
set_callbacks( E_(OpenRenderer), NULL ); set_callbacks( E_(OpenRenderer), NULL );
vlc_module_end(); vlc_module_end();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* intf_dummy.c: dummy interface plugin * intf_dummy.c: dummy interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: interface.c,v 1.3 2003/02/20 16:07:38 gbazin Exp $ * $Id: interface.c,v 1.4 2004/01/25 17:20:19 kuehne Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -49,7 +49,7 @@ int E_(OpenIntf) ( vlc_object_t *p_this ) ...@@ -49,7 +49,7 @@ int E_(OpenIntf) ( vlc_object_t *p_this )
CONSOLE_INTRO_MSG; CONSOLE_INTRO_MSG;
#endif #endif
msg_Info( p_intf, _("Using the dummy interface plugin...") ); msg_Info( p_intf, "Using the dummy interface module..." );
p_intf->pf_run = Run; p_intf->pf_run = Run;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* logger.c : file logging plugin for vlc * logger.c : file logging plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: logger.c,v 1.9 2003/11/05 00:39:16 gbazin Exp $ * $Id: logger.c,v 1.10 2004/01/25 17:20:19 kuehne Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -85,15 +85,15 @@ static char *mode_list[] = { "text", "html" }; ...@@ -85,15 +85,15 @@ static char *mode_list[] = { "text", "html" };
static char *mode_list_text[] = { N_("Text"), N_("Html") }; static char *mode_list_text[] = { N_("Text"), N_("Html") };
#define LOGMODE_TEXT N_("Log format") #define LOGMODE_TEXT N_("Log format")
#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\"") #define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\".")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE ); add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_file( "logfile", NULL, NULL, N_("log filename"), N_("Specify the log filename."), VLC_FALSE ); add_file( "logfile", NULL, NULL, N_("Log filename"), N_("Specify the log filename."), VLC_FALSE );
add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT, add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
VLC_FALSE ); VLC_FALSE );
change_string_list( mode_list, mode_list_text, 0 ); change_string_list( mode_list, mode_list_text, 0 );
set_description( _("file logging interface") ); set_description( _("File logging interface") );
set_capability( "interface", 0 ); set_capability( "interface", 0 );
set_callbacks( Open, Close ); set_callbacks( Open, Close );
vlc_module_end(); vlc_module_end();
...@@ -107,7 +107,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -107,7 +107,7 @@ static int Open( vlc_object_t *p_this )
char *psz_mode, *psz_file; char *psz_mode, *psz_file;
CONSOLE_INTRO_MSG; CONSOLE_INTRO_MSG;
msg_Info( p_intf, _("Using the logger interface plugin...") ); msg_Info( p_intf, "Using the logger interface module..." );
/* Allocate instance and initialize some members */ /* Allocate instance and initialize some members */
p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) ); p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );
...@@ -156,7 +156,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -156,7 +156,7 @@ static int Open( vlc_object_t *p_this )
break; break;
} }
msg_Warn( p_intf, "no log filename provided, using `%s'", psz_file ); msg_Warn( p_intf, no log filename provided, using `%s'", psz_file );
} }
/* Open the log file and remove any buffering for the stream */ /* Open the log file and remove any buffering for the stream */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ipv6.c: IPv6 network abstraction layer * ipv6.c: IPv6 network abstraction layer
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: ipv6.c,v 1.14 2003/07/31 23:44:49 fenrir Exp $ * $Id: ipv6.c,v 1.15 2004/01/25 17:20:19 kuehne Exp $
* *
* Authors: Alexis Guillard <alexis.guillard@bt.com> * Authors: Alexis Guillard <alexis.guillard@bt.com>
* Christophe Massiot <massiot@via.ecp.fr> * Christophe Massiot <massiot@via.ecp.fr>
...@@ -188,7 +188,7 @@ static int BuildAddr( vlc_object_t * p_this, struct sockaddr_in6 * p_socket, ...@@ -188,7 +188,7 @@ static int BuildAddr( vlc_object_t * p_this, struct sockaddr_in6 * p_socket,
/* We have a fqdn, try to find its address */ /* We have a fqdn, try to find its address */
if ( (p_hostent = gethostbyname2( psz_address, AF_INET6 )) == NULL ) if ( (p_hostent = gethostbyname2( psz_address, AF_INET6 )) == NULL )
{ {
msg_Warn( p_this, "ipv6 error: unknown host %s", psz_address ); msg_Warn( p_this, "IPv6 error: unknown host %s", psz_address );
free( psz_backup ); free( psz_backup );
return( -1 ); return( -1 );
} }
...@@ -210,7 +210,7 @@ static int BuildAddr( vlc_object_t * p_this, struct sockaddr_in6 * p_socket, ...@@ -210,7 +210,7 @@ static int BuildAddr( vlc_object_t * p_this, struct sockaddr_in6 * p_socket,
_freeaddrinfo( res ); _freeaddrinfo( res );
#else #else
msg_Warn( p_this, "ipv6 error: IPv6 address %s is invalid", msg_Warn( p_this, "IPv6 error: IPv6 address %s is invalid",
psz_address ); psz_address );
free( psz_backup ); free( psz_backup );
return( -1 ); return( -1 );
...@@ -291,7 +291,7 @@ static int OpenUDP( vlc_object_t * p_this, network_socket_t * p_socket ) ...@@ -291,7 +291,7 @@ static int OpenUDP( vlc_object_t * p_this, network_socket_t * p_socket )
} }
else if( i_opt < 0x80000 ) else if( i_opt < 0x80000 )
{ {
msg_Warn( p_this, "socket buffer size is 0x%x instead of 0x%x", msg_Warn( p_this, "Socket buffer size is 0x%x instead of 0x%x",
i_opt, 0x80000 ); i_opt, 0x80000 );
} }
...@@ -334,7 +334,7 @@ static int OpenUDP( vlc_object_t * p_this, network_socket_t * p_socket ) ...@@ -334,7 +334,7 @@ static int OpenUDP( vlc_object_t * p_this, network_socket_t * p_socket )
if( setsockopt( i_handle, SOL_SOCKET, SO_BROADCAST, if( setsockopt( i_handle, SOL_SOCKET, SO_BROADCAST,
(void*) &i_opt, sizeof( i_opt ) ) == -1 ) (void*) &i_opt, sizeof( i_opt ) ) == -1 )
{ {
msg_Warn( p_this, "ipv6 warning: cannot configure socket " msg_Warn( p_this, "IPv6 warning: cannot configure socket "
"(SO_BROADCAST: %s)", strerror(errno) ); "(SO_BROADCAST: %s)", strerror(errno) );
} }
} }
......
...@@ -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.2 2003/08/29 18:58:05 fenrir Exp $ * $Id: i420_ymga.c,v 1.3 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -45,7 +45,7 @@ static void I420_YMGA ( vout_thread_t *, picture_t *, picture_t * ); ...@@ -45,7 +45,7 @@ static void I420_YMGA ( vout_thread_t *, picture_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
#if defined (MODULE_NAME_IS_i420_ymga) #if defined (MODULE_NAME_IS_i420_ymga)
set_description( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) ); set_description( _("Conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "chroma", 80 ); set_capability( "chroma", 80 );
#elif defined (MODULE_NAME_IS_i420_ymga_mmx) #elif defined (MODULE_NAME_IS_i420_ymga_mmx)
set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) ); set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) );
......
...@@ -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.4 2003/10/25 00:49:14 sam Exp $ * $Id: i420_yuy2.c,v 1.5 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -64,7 +64,7 @@ static uint64_t i_80w; ...@@ -64,7 +64,7 @@ static uint64_t i_80w;
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
#if defined (MODULE_NAME_IS_i420_yuy2) #if defined (MODULE_NAME_IS_i420_yuy2)
set_description( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) ); set_description( _("Conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "chroma", 80 ); set_capability( "chroma", 80 );
#elif defined (MODULE_NAME_IS_i420_yuy2_mmx) #elif defined (MODULE_NAME_IS_i420_yuy2_mmx)
set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) ); set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) );
......
...@@ -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.4 2003/11/06 17:08:12 nitrox Exp $ * $Id: i422_yuy2.c,v 1.5 2004/01/25 17:20:18 kuehne Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -60,7 +60,7 @@ static void I422_YV12 ( vout_thread_t *, picture_t *, picture_t * ); ...@@ -60,7 +60,7 @@ static void I422_YV12 ( vout_thread_t *, picture_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
#if defined (MODULE_NAME_IS_i422_yuy2) #if defined (MODULE_NAME_IS_i422_yuy2)
set_description( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) ); set_description( _("Conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "chroma", 80 ); set_capability( "chroma", 80 );
#elif defined (MODULE_NAME_IS_i422_yuy2_mmx) #elif defined (MODULE_NAME_IS_i422_yuy2_mmx)
set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) ); set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) );
......
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