From a7c0e2a065b845e9bdd7f00bb7bd8e86a93b5dbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 5 Jun 2010 11:10:50 +0300 Subject: [PATCH] Typos --- configure.ac | 2 +- extras/package/rpm/vlc.fedora.spec | 6 +++--- include/vlc_picture.h | 4 ++-- include/vlc_picture_pool.h | 2 +- include/vlc_vout_display.h | 2 +- modules/access/http.c | 2 +- modules/audio_output/directx.c | 2 +- modules/demux/mp4/libmp4.c | 2 +- modules/demux/mp4/mp4.c | 2 +- modules/demux/ts.c | 4 ++-- modules/gui/macosx/playlist.m | 2 +- modules/gui/qt4/components/controller.hpp | 4 ++-- modules/misc/gnutls.c | 2 +- modules/video_filter/atmo/AtmoCalculations.cpp | 4 ++-- modules/video_filter/atmo/README.txt | 2 +- modules/video_output/fb.c | 2 +- share/http/js/vlm.js | 2 +- share/lua/http/js/vlm.js | 2 +- share/lua/intf/modules/common.lua | 2 +- share/lua/intf/modules/host.lua | 2 +- share/lua/intf/telnet.lua | 2 +- src/input/item.c | 2 +- src/input/stream_filter.c | 2 +- src/text/filesystem.c | 2 +- 24 files changed, 30 insertions(+), 30 deletions(-) diff --git a/configure.ac b/configure.ac index 8556d25a6b..fcce3020e3 100644 --- a/configure.ac +++ b/configure.ac @@ -1541,7 +1541,7 @@ AS_IF([test "x${enable_debug}" = "xno"], [ ]) dnl -dnl Allow runing as root (usefull for people runing on embedded platforms) +dnl Allow runing as root (useful for people runing on embedded platforms) dnl AC_ARG_ENABLE(run-as-root, [ --enable-run-as-root allow runing VLC as root (default disabled)]) diff --git a/extras/package/rpm/vlc.fedora.spec b/extras/package/rpm/vlc.fedora.spec index 2ff910172e..e231e28de5 100644 --- a/extras/package/rpm/vlc.fedora.spec +++ b/extras/package/rpm/vlc.fedora.spec @@ -675,7 +675,7 @@ rm -rf $RPM_BUILD_ROOT __doc - Add BR directfb-devel (wip) - Add BR libnotify-devel - Enabled --enable-speex -- Testing --enable-portaudio not usefull (oss is deprecated) +- Testing --enable-portaudio not useful (oss is deprecated) - Enabled --enable-pda - Testing --enable-directfb (wip) - Removed patch5 (was format.c) @@ -683,7 +683,7 @@ rm -rf $RPM_BUILD_ROOT __doc * Thu Apr 5 2007 kwizart < kwizart at gmail.com > - 0.8.6a-5 - Use system ffmpeg lib (pth and libtool seems to be incompatible with it) - Dirac seem to compile fine but testing usability for now. -- Cache isn't usefull for now (and won't be since using system libs) +- Cache isn't useful for now (and won't be since using system libs) - Exclude %%{_bindir}/vlcwrapper.py? since this is the guideline about python for now. * Mon Apr 2 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.6 @@ -698,7 +698,7 @@ rm -rf $RPM_BUILD_ROOT __doc - Clean up svn to release changes * Tue Mar 22 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.4 -- WIP changes - ld.conf is unusefull... +- WIP changes - ld.conf is unuseful... * Wed Mar 21 2007 kwizart < kwizart at gmail.com > - 0.8.6a-4.3 - Revert back to the static vlc version diff --git a/include/vlc_picture.h b/include/vlc_picture.h index 39c3ca04a6..096289983b 100644 --- a/include/vlc_picture.h +++ b/include/vlc_picture.h @@ -221,7 +221,7 @@ static inline void picture_CopyProperties( picture_t *p_dst, const picture_t *p_ /** * This function will reset a picture informations (properties and quantizers). - * It is sometimes usefull for reusing pictures (like from a pool). + * It is sometimes useful for reusing pictures (like from a pool). */ VLC_EXPORT( void, picture_Reset, ( picture_t * ) ); @@ -275,7 +275,7 @@ VLC_EXPORT( int, picture_Export, ( vlc_object_t *p_obj, block_t **pp_image, vide * It will return VLC_EGENERIC if the core does not understand the requested * format. * - * It can be usefull to get the properties of planes. + * It can be useful to get the properties of planes. */ VLC_EXPORT( int, picture_Setup, ( picture_t *, vlc_fourcc_t i_chroma, int i_width, int i_height, int i_sar_num, int i_sar_den ) ); diff --git a/include/vlc_picture_pool.h b/include/vlc_picture_pool.h index a4ab493bec..83a5728e53 100644 --- a/include/vlc_picture_pool.h +++ b/include/vlc_picture_pool.h @@ -53,7 +53,7 @@ typedef struct { /** * It creates a picture_pool_t wrapping the given configuration. * - * It is usefull to avoid useless picture creations/destructions. + * It avoids useless picture creations/destructions. * The given picture must not have a reference count greater than 1. * The pool takes ownership of the picture and MUST not be used directly. * When deleted, the pool will release the pictures using picture_Release. diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h index 9408968b7b..e79ce7ef56 100644 --- a/include/vlc_vout_display.h +++ b/include/vlc_vout_display.h @@ -124,7 +124,7 @@ typedef struct { bool has_double_click; /* Is double-click generated */ bool has_hide_mouse; /* Is mouse automatically hidden */ bool has_pictures_invalid;/* Will VOUT_DISPLAY_EVENT_PICTURES_INVALID be used */ - bool has_event_thread; /* Will events (key at least) be emitted using an independant thread */ + bool has_event_thread; /* Will events (key at least) be emitted using an independent thread */ } vout_display_info_t; /** diff --git a/modules/access/http.c b/modules/access/http.c index 9435504791..983fab7dac 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -426,7 +426,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access, { /* Get the proxy URL : Proxy server value in the registry can be something like "address:port" - or "ftp=adress1:port1;http=adress2:port2 ..." depending of the + or "ftp=address1:port1;http=address2:port2 ..." depending of the confirguration. */ char *psz_proxy; psz_proxy = strstr( psz_key, "http=" ); diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c index f03db57ce9..23cfe0af5f 100644 --- a/modules/audio_output/directx.c +++ b/modules/audio_output/directx.c @@ -960,7 +960,7 @@ static int FillBuffer( aout_instance_t *p_aout, int i_frame, p_notif->i_frame_size, /* Number of bytes */ &p_write_position, /* Address of lock start */ &l_bytes1, /* Count of bytes locked before wrap around */ - &p_wrap_around, /* Buffer adress (if wrap around) */ + &p_wrap_around, /* Buffer address (if wrap around) */ &l_bytes2, /* Count of bytes after wrap around */ 0 ); /* Flags */ if( dsresult == DSERR_BUFFERLOST ) diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c index 1e45c61c35..b6f860f9f2 100644 --- a/modules/demux/mp4/libmp4.c +++ b/modules/demux/mp4/libmp4.c @@ -2116,7 +2116,7 @@ static int MP4_ReadBox_cmov( stream_t *p_stream, MP4_Box_t *p_box ) p_cmvd->data.p_cmvd->p_data = p_data; p_cmvd->data.p_cmvd->b_compressed = 0; - msg_Dbg( p_stream, "read box: \"cmov\" box succesfully uncompressed" ); + msg_Dbg( p_stream, "read box: \"cmov\" box successfully uncompressed" ); /* now create a memory stream */ p_stream_memory = diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c index 1d481fd924..7e7ff573b5 100644 --- a/modules/demux/mp4/mp4.c +++ b/modules/demux/mp4/mp4.c @@ -495,7 +495,7 @@ static int Open( vlc_object_t * p_this ) p_sys->p_tref_chap = p_chap; } - /* now process each track and extract all usefull information */ + /* now process each track and extract all useful information */ for( i = 0; i < p_sys->i_tracks; i++ ) { p_trak = MP4_BoxGet( p_sys->p_root, "/moov/trak[%d]", i ); diff --git a/modules/demux/ts.c b/modules/demux/ts.c index 2f1293a982..99899a6c2b 100644 --- a/modules/demux/ts.c +++ b/modules/demux/ts.c @@ -158,7 +158,7 @@ static void Close ( vlc_object_t * ); #define SPLIT_ES_TEXT N_("Separate sub-streams") #define SPLIT_ES_LONGTEXT N_( \ "Separate teletex/dvbs pages into independant ES. " \ - "It can be usefull to turn off this option when using stream output." ) + "It can be useful to turn off this option when using stream output." ) vlc_module_begin () set_description( N_("MPEG Transport Stream demuxer") ) @@ -3656,7 +3656,7 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_pid_t *pid, } #ifdef _DVBPSI_DR_52_H_ - /* FIXME is it usefull ? */ + /* FIXME is it useful ? */ if( PMTEsFindDescriptor( p_es, 0x52 ) ) { dvbpsi_descriptor_t *p_dr = PMTEsFindDescriptor( p_es, 0x52 ); diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 53ab716c40..09e2458b3c 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -707,7 +707,7 @@ [self isItem:p_item inNode:p_node checkItemExistence:b_check locked:NO]; } -/* This method is usefull for instance to remove the selected children of an +/* This method is useful for instance to remove the selected children of an already selected node */ - (void)removeItemsFrom:(id)o_items ifChildrenOf:(id)o_nodes { diff --git a/modules/gui/qt4/components/controller.hpp b/modules/gui/qt4/components/controller.hpp index f987226a49..0bfa70e568 100644 --- a/modules/gui/qt4/components/controller.hpp +++ b/modules/gui/qt4/components/controller.hpp @@ -167,8 +167,8 @@ protected slots: virtual void setStatus( int ); signals: - void inputExists( bool ); /// This might be usefull in the IM ? - void inputPlaying( bool ); /// This might be usefull in the IM ? + void inputExists( bool ); /// This might be useful in the IM ? + void inputPlaying( bool ); /// This might be useful in the IM ? void inputIsRecordable( bool ); /// same ? void inputIsTrickPlayable( bool ); /// same ? }; diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c index c38e8f71ea..5b7a82b630 100644 --- a/modules/misc/gnutls.c +++ b/modules/misc/gnutls.c @@ -239,7 +239,7 @@ gnutls_Recv( void *p_session, void *buf, int i_length ) /** * Starts or continues the TLS handshake. * - * @return -1 on fatal error, 0 on succesful handshake completion, + * @return -1 on fatal error, 0 on successful handshake completion, * 1 if more would-be blocking recv is needed, * 2 if more would-be blocking send is required. */ diff --git a/modules/video_filter/atmo/AtmoCalculations.cpp b/modules/video_filter/atmo/AtmoCalculations.cpp index 1f738abc65..66b0a2609e 100644 --- a/modules/video_filter/atmo/AtmoCalculations.cpp +++ b/modules/video_filter/atmo/AtmoCalculations.cpp @@ -250,7 +250,7 @@ pColorPacket CAtmoColorCalculator::AnalyzeHSV(tHSVColor *HSV_Img) // windowing from -hue_windowsize -> +hue_windowsize for (int mywin = -hue_windowsize; mywin < hue_windowsize+1; mywin++) { - // adressed histogram candlestick + // addressed histogram candlestick int myidx = i + mywin; // handle beginning of windowing -> roll back @@ -374,7 +374,7 @@ pColorPacket CAtmoColorCalculator::AnalyzeHSV(tHSVColor *HSV_Img) // windowing from -hue_windowsize -> +hue_windowsize for (int mywin = -sat_windowsize; mywin < sat_windowsize+1; mywin++) { - // adressed histogram candlestick + // addressed histogram candlestick int myidx = i + mywin; // handle beginning of windowing -> roll back diff --git a/modules/video_filter/atmo/README.txt b/modules/video_filter/atmo/README.txt index f9416bc6a0..e1646923d5 100644 --- a/modules/video_filter/atmo/README.txt +++ b/modules/video_filter/atmo/README.txt @@ -227,7 +227,7 @@ like the group says only for the DMX device "Count of AtmoLight Channels" - defines how many RGB Channels should be simulated with this DMX device (each RGB channel needs three DMX channels!) -"DMX adress for each channel" - defines the DMX Startadress for each AtmoLight +"DMX address for each channel" - defines the DMX Startadress for each AtmoLight channel as "," or ";" separated list. (starting with 0 up to 252) it is assumed that the f.e. of the DMX-AtmoLight channel starts at DMX-Channel 5 - that DMX-Channel 5: is red diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c index 7e25456d7b..a30e62d9c9 100644 --- a/modules/video_output/fb.c +++ b/modules/video_output/fb.c @@ -144,7 +144,7 @@ struct vout_display_sys_t { int bytes_per_pixel; /* Video memory */ - uint8_t *video_ptr; /* base adress */ + uint8_t *video_ptr; /* base address */ size_t video_size; /* page size */ picture_t *picture; diff --git a/share/http/js/vlm.js b/share/http/js/vlm.js index daa3f2a5a4..7a4580b754 100644 --- a/share/http/js/vlm.js +++ b/share/http/js/vlm.js @@ -326,7 +326,7 @@ function parse_vlm_cmd() } else { - vlme.appendChild( document.createTextNode( 'Command succesful (' + value( 'vlm_command' ) + ') ' ) ); + vlme.appendChild( document.createTextNode( 'Command successful (' + value( 'vlm_command' ) + ') ' ) ); vlme.style.color = "#0f0"; clear_vlm_add(); } diff --git a/share/lua/http/js/vlm.js b/share/lua/http/js/vlm.js index daa3f2a5a4..7a4580b754 100644 --- a/share/lua/http/js/vlm.js +++ b/share/lua/http/js/vlm.js @@ -326,7 +326,7 @@ function parse_vlm_cmd() } else { - vlme.appendChild( document.createTextNode( 'Command succesful (' + value( 'vlm_command' ) + ') ' ) ); + vlme.appendChild( document.createTextNode( 'Command successful (' + value( 'vlm_command' ) + ') ' ) ); vlme.style.color = "#0f0"; clear_vlm_add(); } diff --git a/share/lua/intf/modules/common.lua b/share/lua/intf/modules/common.lua index 1215ab85b6..b3fef02f11 100644 --- a/share/lua/intf/modules/common.lua +++ b/share/lua/intf/modules/common.lua @@ -67,7 +67,7 @@ function table_print(t,prefix) end -- print the list of callbacks registered in lua --- usefull for debug purposes +-- useful for debug purposes function print_callbacks() print "callbacks:" table_print(vlc.callbacks) diff --git a/share/lua/intf/modules/host.lua b/share/lua/intf/modules/host.lua index baa7c84376..b6c06ba5b5 100644 --- a/share/lua/intf/modules/host.lua +++ b/share/lua/intf/modules/host.lua @@ -27,7 +27,7 @@ Example use: require "host" h = host.host() - -- Bypass any authentification + -- Bypass any authentication function on_password( client ) client:switch_status( host.status.read ) end diff --git a/share/lua/intf/telnet.lua b/share/lua/intf/telnet.lua index 89a478669c..a72d4b1790 100644 --- a/share/lua/intf/telnet.lua +++ b/share/lua/intf/telnet.lua @@ -58,7 +58,7 @@ function on_password( client ) if client.type == host.client_type.net then client:send( "Password: " ..IAC..WILL..ECHO ) else - -- no authentification needed on stdin + -- no authentication needed on stdin client:switch_status( host.status.read ) end end diff --git a/src/input/item.c b/src/input/item.c index 8bca6f6321..df4e15967e 100644 --- a/src/input/item.c +++ b/src/input/item.c @@ -216,7 +216,7 @@ void input_item_SetMeta( input_item_t *p_i, vlc_meta_type_t meta_type, const cha } /* FIXME GRRRRRRRRRR args should be in the reverse order to be - * consistant with (nearly?) all or copy funcs */ + * consistent with (nearly?) all or copy funcs */ void input_item_CopyOptions( input_item_t *p_parent, input_item_t *p_child ) { diff --git a/src/input/stream_filter.c b/src/input/stream_filter.c index fc06b6fa5f..9126f76788 100644 --- a/src/input/stream_filter.c +++ b/src/input/stream_filter.c @@ -108,7 +108,7 @@ stream_t *stream_FilterChainNew( stream_t *p_source, } free( psz_tmp ); - /* Add record filter if usefull */ + /* Add record filter if useful */ if( b_record ) { stream_t *p_filter = stream_FilterNew( p_source, diff --git a/src/text/filesystem.c b/src/text/filesystem.c index fb27c17050..e3147ebddf 100644 --- a/src/text/filesystem.c +++ b/src/text/filesystem.c @@ -410,7 +410,7 @@ int vlc_loaddir( DIR *dir, char ***namelist, * Selects file entries from a directory, as GNU C scandir(). * * @param dirname UTF-8 diretory path - * @param pointer [OUT] pointer set, on succesful completion, to the address + * @param pointer [OUT] pointer set, on successful completion, to the address * of a table of UTF-8 filenames. All filenames must be freed with free(). * The table itself must be freed with free() as well. * -- 2.39.2