Commit ffdca9af authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Stringreview !!!

parent 97706e46
/*****************************************************************************
* a52.c : Raw A/52 Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: a52sys.c,v 1.11 2003/12/22 02:24:52 sam Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: a52sys.c,v 1.12 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......
/*****************************************************************************
* aac.c : Raw aac Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: aac.c,v 1.8 2003/11/21 00:38:01 gbazin Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: aac.c,v 1.9 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......
/*****************************************************************************
* asf.c : ASFv01 file input module for vlc
* asf.c : ASF demux module
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: asf.c,v 1.48 2004/01/05 13:00:20 zorglub Exp $
* $Id: asf.c,v 1.49 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -285,7 +285,7 @@ static int Open( vlc_object_t * p_this )
}
/* We add all info about this stream */
p_cat = input_InfoCategory( p_input, "Asf" );
p_cat = input_InfoCategory( p_input, _("Asf") );
playlist_t *p_playlist = (playlist_t *)vlc_object_find( p_input,
VLC_OBJECT_PLAYLIST, FIND_PARENT);
if( p_sys->i_length > 0 )
......@@ -486,7 +486,7 @@ static void Close( vlc_object_t * p_this )
demux_sys_t *p_sys = p_input->p_demux_data;
int i_stream;
msg_Dbg( p_input, "Freeing all memory" );
msg_Dbg( p_input, "freeing all memory" );
ASF_FreeObjectRoot( p_input->s, p_sys->p_root );
for( i_stream = 0; i_stream < 128; i_stream++ )
......
/*****************************************************************************
* libasf.c :
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libasf.c,v 1.18 2003/09/07 22:48:29 fenrir Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: libasf.c,v 1.19 2004/01/25 20:05:28 hartman Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......@@ -89,7 +89,7 @@ static int ASF_ReadObjectCommon( stream_t *s, asf_object_t *p_obj )
p_common->p_next = NULL;
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Found Object guid: " GUID_FMT " size:"I64Fd,
"found object guid: " GUID_FMT " size:"I64Fd,
GUID_PRINT( p_common->i_object_id ),
p_common->i_object_size );
#endif
......@@ -153,7 +153,7 @@ static int ASF_ReadObject_Header( stream_t *s, asf_object_t *p_obj )
p_hdr->p_last = NULL;
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Header Object\" subobj:%d, reserved1:%d, reserved2:%d",
"read \"header object\" subobj:%d, reserved1:%d, reserved2:%d",
p_hdr->i_sub_object_count,
p_hdr->i_reserved1,
p_hdr->i_reserved2 );
......@@ -193,7 +193,7 @@ static int ASF_ReadObject_Data( stream_t *s, asf_object_t *p_obj )
p_data->i_reserved = GetWLE( p_peek + 48 );
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Data Object\" file_id:" GUID_FMT " total data packet:"
"read \"data object\" file_id:" GUID_FMT " total data packet:"
I64Fd" reserved:%d",
GUID_PRINT( p_data->i_file_id ),
p_data->i_total_data_packets,
......@@ -220,7 +220,7 @@ static int ASF_ReadObject_Index( stream_t *s, asf_object_t *p_obj )
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Index Object\" file_id:" GUID_FMT
"read \"index object\" file_id:" GUID_FMT
" index_entry_time_interval:"I64Fd" max_packet_count:%d "
"index_entry_count:%ld",
GUID_PRINT( p_index->i_file_id ),
......@@ -261,7 +261,7 @@ static int ASF_ReadObject_file_properties( stream_t *s, asf_object_t *p_obj )
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"File Properties Object\" file_id:" GUID_FMT
"read \"file properties object\" file_id:" GUID_FMT
" file_size:"I64Fd" creation_date:"I64Fd" data_packets_count:"
I64Fd" play_duration:"I64Fd" send_duration:"I64Fd" preroll:"
I64Fd" flags:%d min_data_packet_size:%d max_data_packet_size:%d "
......@@ -307,7 +307,7 @@ static int ASF_ReadObject_header_extention( stream_t *s, asf_object_t *p_obj )
}
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Header Extention Object\" reserved1:" GUID_FMT " reserved2:%d header_extention_size:%d",
"read \"header extention object\" reserved1:" GUID_FMT " reserved2:%d header_extention_size:%d",
GUID_PRINT( p_he->i_reserved1 ),
p_he->i_reserved2,
p_he->i_header_extention_size );
......@@ -365,7 +365,7 @@ static int ASF_ReadObject_stream_properties( stream_t *s, asf_object_t *p_obj )
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Stream Properties Object\" stream_type:" GUID_FMT
"read \"stream Properties object\" stream_type:" GUID_FMT
" error_correction_type:" GUID_FMT " time_offset:"I64Fd
" type_specific_data_length:%d error_correction_data_length:%d"
" flags:0x%x stream_number:%d",
......@@ -463,7 +463,7 @@ static int ASF_ReadObject_codec_list( stream_t *s, asf_object_t *p_obj )
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Codec List Object\" reserved_guid:" GUID_FMT " codec_entries_count:%d",
"read \"codec list object\" reserved_guid:" GUID_FMT " codec_entries_count:%d",
GUID_PRINT( p_cl->i_reserved ),
p_cl->i_codec_entries_count );
......@@ -471,7 +471,7 @@ static int ASF_ReadObject_codec_list( stream_t *s, asf_object_t *p_obj )
{
#define codec p_cl->codec[i_codec]
msg_Dbg( (vlc_object_t*)s,
"Read \"Codec List Object\" codec[%d] %s name:\"%s\" description:\"%s\" information_length:%d",
"read \"codec list object\" codec[%d] %s name:\"%s\" description:\"%s\" information_length:%d",
i_codec,
( codec.i_type == ASF_CODEC_TYPE_VIDEO ) ? "video" : ( ( codec.i_type == ASF_CODEC_TYPE_AUDIO ) ? "audio" : "unknown" ),
codec.psz_name,
......@@ -546,7 +546,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Read \"Content Description Object\" title:\"%s\" author:\"%s\" copyright:\"%s\" description:\"%s\" rating:\"%s\"",
"Read \"content description object\" title:\"%s\" author:\"%s\" copyright:\"%s\" description:\"%s\" rating:\"%s\"",
p_cd->psz_title,
p_cd->psz_author,
p_cd->psz_copyright,
......@@ -601,7 +601,7 @@ static int ASF_ReadObject( stream_t *s,
}
if( ASF_ReadObjectCommon( s, p_obj ) )
{
msg_Warn( (vlc_object_t*)s, "Cannot read one asf object" );
msg_Warn( (vlc_object_t*)s, "cannot read one asf object" );
return VLC_EGENERIC;
}
p_obj->common.p_father = p_father;
......@@ -612,7 +612,7 @@ static int ASF_ReadObject( stream_t *s,
if( p_obj->common.i_object_size < 24 )
{
msg_Warn( (vlc_object_t*)s, "Found a corrupted asf object (size<24)" );
msg_Warn( (vlc_object_t*)s, "found a corrupted asf object (size<24)" );
return VLC_EGENERIC;
}
/* find this object */
......@@ -631,7 +631,7 @@ static int ASF_ReadObject( stream_t *s,
/* Now load this object */
if( ASF_Object_Function[i_index].ASF_ReadObject_function == NULL )
{
msg_Warn( (vlc_object_t*)s, "Unknown asf object (not loaded)" );
msg_Warn( (vlc_object_t*)s, "unknown asf object (not loaded)" );
i_result = VLC_SUCCESS;
}
else
......@@ -694,14 +694,14 @@ static void ASF_FreeObject( stream_t *s, asf_object_t *p_obj )
if( ASF_Object_Function[i_index].ASF_FreeObject_function == NULL )
{
msg_Warn( (vlc_object_t*)s,
"Unknown asf object " GUID_FMT,
"unknown asf object " GUID_FMT,
GUID_PRINT( p_obj->common.i_object_id ) );
}
else
{
#ifdef ASF_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Free asf object " GUID_FMT,
"free asf object " GUID_FMT,
GUID_PRINT( p_obj->common.i_object_id ) );
#endif
(ASF_Object_Function[i_index].ASF_FreeObject_function)( p_obj );
......@@ -750,7 +750,7 @@ asf_object_root_t *ASF_ReadObjectRoot( stream_t *s, int b_seekable )
p_root->p_index = (asf_object_index_t*)p_obj;
break;
default:
msg_Warn( (vlc_object_t*)s, "Unknow Object found" );
msg_Warn( (vlc_object_t*)s, "unknow object found" );
break;
}
if( p_obj->common.i_type == ASF_OBJECT_TYPE_DATA &&
......@@ -780,7 +780,7 @@ asf_object_root_t *ASF_ReadObjectRoot( stream_t *s, int b_seekable )
{
return p_root;
}
msg_Warn( (vlc_object_t*)s, "cannot fine file properties object" );
msg_Warn( (vlc_object_t*)s, "cannot find file properties object" );
}
/* Invalid file */
......
/*****************************************************************************
* libasf.h :
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libasf.h,v 1.7 2003/08/18 19:18:47 fenrir Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: libasf.h,v 1.8 2004/01/25 20:05:28 hartman Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......
......@@ -2,7 +2,7 @@
* au.c : au file input module for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: au.c,v 1.11 2003/11/21 00:38:01 gbazin Exp $
* $Id: au.c,v 1.12 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -336,7 +336,7 @@ static int DemuxPCM( input_thread_t *p_input )
i_pos += p_sys->fmt.audio.i_blockalign - i_pos % p_sys->fmt.audio.i_blockalign;
if( stream_Seek( p_input->s, i_pos ) )
{
msg_Err( p_input, "Seek failed(cannot resync)" );
msg_Err( p_input, "seek failed (cannot resync)" );
}
}
}
......
/*****************************************************************************
* avi.c : AVI file Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: avi.c,v 1.84 2004/01/05 13:00:20 zorglub Exp $
* Copyright (C) 2001-2004 VideoLAN
* $Id: avi.c,v 1.85 2004/01/25 20:05:28 hartman Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......@@ -36,20 +36,26 @@
/*****************************************************************************
* Module descriptor
*****************************************************************************/
#define INTERLEAVE_TEXT N_("Force interleaved method" )
#define INTERLEAVE_LONGTEXT N_( "Force interleaved method" )
#define INDEX_TEXT N_("Force index creation")
#define INDEX_LONGTEXT N_( \
"Recreate a index for the AVI file so we can seek trough it more reliably." )
static int Open ( vlc_object_t * );
static void Close ( vlc_object_t * );
vlc_module_begin();
add_category_hint( N_("AVI demuxer"), NULL, VLC_TRUE );
add_bool( "avi-interleaved", 0, NULL,
N_("force interleaved method"),
N_("force interleaved method"), VLC_TRUE );
add_bool( "avi-index", 0, NULL,
N_("force index creation"),
N_("force index creation"), VLC_TRUE );
set_description( N_("AVI demuxer") );
set_description( _("AVI demuxer") );
set_capability( "demux", 212 );
add_bool( "avi-interleaved", 0, NULL,
INTERLEAVE_TEXT, INTERLEAVE_LONGTEXT, VLC_TRUE );
add_bool( "avi-index", 0, NULL,
INDEX_TEXT, INDEX_LONGTEXT, VLC_TRUE );
set_callbacks( Open, Close );
vlc_module_end();
......@@ -356,7 +362,7 @@ static int Open( vlc_object_t * p_this )
if( p_sys->i_track <= 0 )
{
msg_Err( p_input, "No valid track" );
msg_Err( p_input, "no valid track" );
goto error;
}
......@@ -1072,7 +1078,7 @@ static int Seek( input_thread_t *p_input, mtime_t i_date, int i_percent )
/* p_sys->i_time = __MAX( AVI_GetPTS( p_stream ), p_sys->i_time );*/
}
}
msg_Dbg( p_input, "seek: "I64Fd" secondes", p_sys->i_time /1000000 );
msg_Dbg( p_input, "seek: "I64Fd" seconds", p_sys->i_time /1000000 );
/* set true movie time */
#endif
if( !p_sys->i_time )
......
/*****************************************************************************
* avi.h : AVI file Stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: avi.h,v 1.18 2004/01/04 17:35:02 fenrir Exp $
* Copyright (C) 2001-2004 VideoLAN
* $Id: avi.h,v 1.19 2004/01/25 20:05:28 hartman Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......
/*****************************************************************************
* libavi.c :
* libavi.c : LibAVI
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libavi.c,v 1.29 2003/10/24 12:22:51 fenrir Exp $
* $Id: libavi.c,v 1.30 2004/01/25 20:05:28 hartman Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......@@ -71,7 +71,7 @@ static int AVI_ChunkReadCommon( stream_t *s, avi_chunk_t *p_chk )
#ifdef AVI_DEBUG
msg_Dbg( (vlc_object_t*)s,
"Found Chunk fourcc:%8.8x (%4.4s) size:"I64Fd" pos:"I64Fd,
"found Chunk fourcc:%8.8x (%4.4s) size:"I64Fd" pos:"I64Fd,
p_chk->common.i_chunk_fourcc,
(char*)&p_chk->common.i_chunk_fourcc,
p_chk->common.i_chunk_size,
......@@ -137,7 +137,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
if( p_container->common.i_chunk_fourcc == AVIFOURCC_LIST &&
p_container->list.i_type == AVIFOURCC_movi )
{
msg_Dbg( (vlc_object_t*)s, "Skipping movi chunk" );
msg_Dbg( (vlc_object_t*)s, "skipping movi chunk" );
if( b_seekable )
{
return AVI_NextChunk( s, p_container );
......@@ -580,7 +580,7 @@ static struct
{ AVIFOURCC_ICRP, "cropped" },
{ AVIFOURCC_IDIM, "dimensions" },
{ AVIFOURCC_IDPI, "dots per inch" },
{ AVIFOURCC_IENG, "enginner" },
{ AVIFOURCC_IENG, "engineer" },
{ AVIFOURCC_IGNR, "genre" },
{ AVIFOURCC_IKEY, "keywords" },
{ AVIFOURCC_ILGT, "lightness" },
......
/*****************************************************************************
* libavi.h : LibAVI library
******************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libavi.h,v 1.13 2003/11/30 22:14:39 fenrir Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: libavi.h,v 1.14 2004/01/25 20:05:28 hartman Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
......@@ -19,6 +19,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
/* flags for use in <dwFlags> in AVIFileHdr */
#define AVIF_HASINDEX 0x00000010 /* Index at end of file? */
#define AVIF_MUSTUSEINDEX 0x00000020
......
......@@ -2,7 +2,7 @@
* demux2 adaptation layer.
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: demux2.c,v 1.6 2004/01/20 14:51:30 fenrir Exp $
* $Id: demux2.c,v 1.7 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -38,7 +38,7 @@ static int Demux2Open ( vlc_object_t * );
static void Demux2Close ( vlc_object_t * );
vlc_module_begin();
set_description( _("demux2 adaptation layer" ) );
set_description( _("Demux2 adaptation layer" ) );
set_capability( "demux", 2 );
set_callbacks( Demux2Open, Demux2Close );
add_shortcut( "demux2" );
......
/*****************************************************************************
* demuxdump.c : Pseudo demux module for vlc (dump raw stream)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: demuxdump.c,v 1.11 2003/11/05 17:57:29 gbazin Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: demuxdump.c,v 1.12 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -38,24 +38,23 @@
*****************************************************************************/
static int Activate ( vlc_object_t * );
static int Demux ( input_thread_t * );
static void Desactivate ( vlc_object_t * );
static void Deactivate ( vlc_object_t * );
#define DUMP_BLOCKSIZE 16384
/*****************************************************************************
* Module descriptor
*****************************************************************************/
#define FILE_TEXT N_("Dump file name")
#define FILE_TEXT N_("Filename of dump")
#define FILE_LONGTEXT N_( \
"Specify a file name to which the raw stream will be dumped." )
vlc_module_begin();
set_description( _("file dump demuxer") );
set_description( _("Filedump demuxer") );
set_capability( "demux", 0 );
add_category_hint( "File", NULL, VLC_FALSE );
add_file( "demuxdump-file", "stream-demux.dump", NULL, FILE_TEXT,
FILE_LONGTEXT, VLC_FALSE );
set_callbacks( Activate, Desactivate );
add_file( "demuxdump-file", "stream-demux.dump", NULL, FILE_TEXT,
FILE_LONGTEXT, VLC_FALSE );
set_callbacks( Activate, Deactivate );
add_shortcut( "dump" );
vlc_module_end();
......@@ -164,9 +163,9 @@ static int Activate( vlc_object_t * p_this )
}
/*****************************************************************************
* Desctivate: initializes dump structures
* Deactivate: initializes dump structures
*****************************************************************************/
static void Desactivate ( vlc_object_t *p_this )
static void Deactivate ( vlc_object_t *p_this )
{
input_thread_t *p_input = (input_thread_t *)p_this;
demux_sys_t *p_demux = (demux_sys_t*)p_input->p_demux_data;
......
......@@ -2,7 +2,7 @@
* demuxstream.c: Read an MPEG stream from the satellite and stream it
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: demuxstream.c,v 1.1 2003/11/06 16:06:28 massiot Exp $
* $Id: demuxstream.c,v 1.2 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Henri Fallon <henri@via.ecp.fr>
* Johan Bilien <jobi@via.ecp.fr>
......@@ -140,7 +140,6 @@ vlc_module_begin();
set_capability( "demux", 0 );
add_shortcut( "demuxstream" );
#endif
add_category_hint( N_("Miscellaneous"), NULL, VLC_TRUE );
add_bool( "vls-backwards-compat", 0, NULL,
VLS_BACKWARDS_COMPAT_TEXT, VLS_BACKWARDS_COMPAT_LONGTEXT, VLC_TRUE );
add_bool( "buggy-psi", 0, NULL, BUGGY_PSI_TEXT, BUGGY_PSI_LONGTEXT, VLC_TRUE );
......@@ -1283,7 +1282,7 @@ static void TS_DVBPSI_HandlePAT( input_thread_t * p_input,
( p_new_pat->i_version != p_stream_data->i_pat_version ) ) ||
p_stream_data->i_pat_version == PAT_UNINITIALIZED )
{
msg_Dbg( p_input, "Processing PAT version %d", p_new_pat->i_version );
msg_Dbg( p_input, "processing PAT version %d", p_new_pat->i_version );
/* Delete all programs */
while( p_input->stream.i_pgrm_number )
......@@ -1308,7 +1307,7 @@ static void TS_DVBPSI_HandlePAT( input_thread_t * p_input,
while( p_pgrm )
{
msg_Dbg( p_input, "New program: %d", p_pgrm->i_number );
msg_Dbg( p_input, "new program: %d", p_pgrm->i_number );
/* If program = 0, we're having info about NIT not PMT */
if( p_pgrm->i_number )
......@@ -1386,7 +1385,7 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
dvbpsi_descriptor_t *p_dr = p_new_pmt->p_first_descriptor;
int i_loop;
msg_Dbg( p_input, "Processing PMT for program %d version %d",
msg_Dbg( p_input, "processing PMT for program %d version %d",
p_new_pmt->i_program_number, p_new_pmt->i_version );
/* Delete all ES in this program except the PSI. We start from the
......@@ -1717,7 +1716,7 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
if( i_fourcc == VLC_FOURCC(0,0,0,0) )
{
msg_Warn( p_input,
"Unknown codec/type for Private PES stream" );
"unknown codec/type for Private PES stream" );
}
}
......
......@@ -2,7 +2,7 @@
* dvdnav.c: DVD module using the dvdnav library.
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: dvdnav.c,v 1.7 2004/01/19 21:30:43 fenrir Exp $
* $Id: dvdnav.c,v 1.8 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -51,15 +51,15 @@ static int DemuxOpen ( vlc_object_t * );
static void DemuxClose( vlc_object_t * );
vlc_module_begin();
set_description( "DVDnav Input" );
add_category_hint( N_("DVD"), NULL , VLC_TRUE );
add_integer( "dvdnav-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_description( _("DVDnav Input") );
add_integer( "dvdnav-caching", DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access", 0 );
add_shortcut( "dvdnav" );
set_callbacks( AccessOpen, AccessClose );
add_submodule();
set_description( "DVDnav Input (demux)" );
set_description( _("DVDnav Input (demux)") );
set_capability( "demux2", 1 );
add_shortcut( "dvdnav" );
set_callbacks( DemuxOpen, DemuxClose );
......@@ -330,7 +330,7 @@ static int DemuxOpen( vlc_object_t *p_this )
/* Configure dvdnav */
if( dvdnav_set_readahead_flag( p_sys->dvdnav, 1 ) != DVDNAV_STATUS_OK )
{
msg_Warn( p_demux, "cannot set readahead flag" );
msg_Warn( p_demux, "cannot set read-a-head flag" );
}
if( dvdnav_set_PGC_positioning_flag( p_sys->dvdnav, 1 ) !=
......@@ -711,11 +711,11 @@ static void ButtonUpdate( demux_t *p_demux )
val.b_bool = VLC_TRUE; var_Set( p_sys->p_input, "highlight", val );
vlc_mutex_unlock( p_mutex );
msg_Dbg( p_demux, "ButtonUpdate %d", i_button );
msg_Dbg( p_demux, "buttonUpdate %d", i_button );
}
else
{
msg_Dbg( p_demux, "ButtonUpdate not done b=%d t=%d", i_button, i_title );
msg_Dbg( p_demux, "buttonUpdate not done b=%d t=%d", i_button, i_title );
/* Show all */
vlc_mutex_lock( p_mutex );
......
/*****************************************************************************
* flac.c : FLAC demux module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: flac.c,v 1.9 2003/11/24 00:39:01 fenrir Exp $
* Copyright (C) 2001-2003 VideoLAN
* $Id: flac.c,v 1.10 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -51,7 +51,7 @@ struct demux_sys_t
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("flac demuxer") );
set_description( _("FLAC demuxer") );
set_capability( "demux", 155 );
set_callbacks( Open, Close );
add_shortcut( "flac" );
......@@ -103,13 +103,13 @@ static int Open( vlc_object_t * p_this )
i_peek = stream_Peek( p_input->s, &p_peek, 8 );
if( p_peek[4] & 0x7F )
{
msg_Err( p_input, "This isn't a STREAMINFO metadata block" );
msg_Err( p_input, "this isn't a STREAMINFO metadata block" );
return VLC_EGENERIC;
}
if( ((p_peek[5]<<16)+(p_peek[6]<<8)+p_peek[7]) != (STREAMINFO_SIZE - 4) )
{
msg_Err( p_input, "Invalid size for a STREAMINFO metadata block" );
msg_Err( p_input, "invalid size for a STREAMINFO metadata block" );
return VLC_EGENERIC;
}
......
......@@ -2,7 +2,7 @@
* live.cpp : live.com support.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: livedotcom.cpp,v 1.13 2003/12/04 18:13:28 gbazin Exp $
* $Id: livedotcom.cpp,v 1.14 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -51,7 +51,7 @@ static void DemuxClose( vlc_object_t * );
static int AccessOpen ( vlc_object_t * );
static void AccessClose( vlc_object_t * );
#define CACHING_TEXT N_("Caching value in ms")
#define CACHING_TEXT N_("Caching value (ms)")
#define CACHING_LONGTEXT N_( \
"Allows you to modify the default caching value for rtsp streams. This " \
"value should be set in miliseconds units." )
......@@ -68,11 +68,11 @@ vlc_module_begin();
add_shortcut( "sdp" );
set_capability( "access", 0 );
set_callbacks( AccessOpen, AccessClose );
add_category_hint( N_("RTSP"), NULL, VLC_TRUE );
add_bool( "rtsp-tcp", 0, NULL,
"Use rtp over rtsp(tcp)",
"Use rtp over rtsp(tcp)", VLC_TRUE );
add_integer( "rtsp-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
add_bool( "rtsp-tcp", 0, NULL,
N_("Use rtp over rtsp (tcp)"),
N_("Use rtp over rtsp (tcp)"), VLC_TRUE );
add_integer( "rtsp-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
vlc_module_end();
/* TODO:
......@@ -645,7 +645,7 @@ static int DemuxOpen ( vlc_object_t *p_this )
if( p_sys->i_track <= 0 )
{
msg_Err( p_input, "No codec supported, aborting" );
msg_Err( p_input, "no codec supported, aborting" );
goto error;
}
......
/*****************************************************************************
* m3u.c: a meta demux to parse pls, m3u, asx et b4s playlists
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: m3u.c,v 1.25 2004/01/05 13:07:02 zorglub Exp $
* Copyright (C) 2001-2004 VideoLAN
* $Id: m3u.c,v 1.26 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* Gildas Bazin <gbazin@netcourrier.com>
......@@ -60,7 +60,7 @@ static int Demux ( input_thread_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("playlist metademux") );
set_description( _("Playlist metademux") );
set_capability( "demux", 180 );
set_callbacks( Activate, Deactivate );
add_shortcut( "m3u" );
......@@ -121,8 +121,8 @@ static int Activate( vlc_object_t * p_this )
/* we had no luck looking at the file extention, so we have a look
* at the content. This is useful for .asp, .php and similar files
* that are actually html. Also useful for som asx files that have
* another extention */
* that are actually html. Also useful for some asx files that have
* another extension */
/* XXX we double check for file != m3u as some asx ... are just m3u file */
if( i_type != TYPE_M3U )
{
......
/*****************************************************************************
* mkv.cpp : matroska demuxer
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mkv.cpp,v 1.54 2004/01/22 20:48:07 sigmunau Exp $
* Copyright (C) 2003-2004 VideoLAN
* $Id: mkv.cpp,v 1.55 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -91,14 +91,14 @@ static int Open ( vlc_object_t * );
static void Close( vlc_object_t * );
vlc_module_begin();
add_category_hint( N_("mkv demuxer"), NULL, VLC_TRUE );
add_bool( "mkv-seek-percent", 1, NULL,
N_("Seek based on percent not time"),
N_("Seek based on percent not time"), VLC_TRUE );
set_description( _("mka/mkv stream demuxer" ) );
set_description( _("Matroska stream demuxer" ) );
set_capability( "demux", 50 );
set_callbacks( Open, Close );
add_bool( "mkv-seek-percent", 1, NULL,
N_("Seek based on percent not time"),
N_("Seek based on percent not time"), VLC_TRUE );
add_shortcut( "mka" );
add_shortcut( "mkv" );
vlc_module_end();
......@@ -1554,7 +1554,7 @@ static void Seek( input_thread_t *p_input, mtime_t i_date, int i_percent)
{
int64_t i_pos = i_percent * stream_Size( p_input->s ) / 100;
msg_Dbg( p_input, "imprecise way of seeking" );
msg_Dbg( p_input, "inacurate way of seeking" );
for( i_index = 0; i_index < p_sys->i_index; i_index++ )
{
if( p_sys->index[i_index].i_position >= i_pos)
......@@ -2179,7 +2179,7 @@ static void InformationsCreate( input_thread_t *p_input )
playlist_t *p_playlist;
int i_track;
p_cat = input_InfoCategory( p_input, "Matroska" );
p_cat = input_InfoCategory( p_input, _("Matroska") );
if( p_sys->f_duration > 1000.1 )
{
char psz_buffer[MSTRTIME_MAX_SIZE];
......
......@@ -2,7 +2,7 @@
* mod.c: MOD file demuxer (using libmodplug)
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: mod.c,v 1.1 2004/01/20 14:58:07 fenrir Exp $
* $Id: mod.c,v 1.2 2004/01/25 20:05:28 hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -45,23 +45,23 @@ static int Open ( vlc_object_t * );
static void Close ( vlc_object_t * );
vlc_module_begin();
set_description( N_("MOD demuxer (libmodplug)" ) );
add_category_hint( N_("MOD demuxer"), NULL, VLC_TRUE );
add_bool( "mod-noisereduction", VLC_TRUE, NULL, N_("Noise reduction"), N_("Noise reduction"), VLC_FALSE );
set_description( _("MOD demuxer (libmodplug)" ) );
set_capability( "demux2", 10 );
add_bool( "mod-reverb", VLC_FALSE, NULL, N_("Reverb"), N_("Reverb"), VLC_FALSE );