Commit bd03c387 authored by Pavlov Konstantin's avatar Pavlov Konstantin

Spelling: mili -> milli.

parent 4fcab61a
...@@ -116,7 +116,7 @@ const double RTMP_DEFAULT_STREAM_SERVER_ID = 1.0; ...@@ -116,7 +116,7 @@ const double RTMP_DEFAULT_STREAM_SERVER_ID = 1.0;
/* misc */ /* misc */
const uint16_t MAX_EMPTY_BLOCKS = 200; /* empty blocks in fifo for media*/ const uint16_t MAX_EMPTY_BLOCKS = 200; /* empty blocks in fifo for media*/
const uint16_t RTMP_BODY_SIZE_ALLOC = 1024; const uint16_t RTMP_BODY_SIZE_ALLOC = 1024;
const uint32_t RTMP_TIME_CLIENT_BUFFER = 2000; /* miliseconds */ const uint32_t RTMP_TIME_CLIENT_BUFFER = 2000; /* milliseconds */
const uint32_t RTMP_SERVER_BW = 0x00000200; const uint32_t RTMP_SERVER_BW = 0x00000200;
const uint32_t RTMP_SRC_DST_CONNECT_OBJECT = 0x00000000; const uint32_t RTMP_SRC_DST_CONNECT_OBJECT = 0x00000000;
const uint32_t RTMP_SRC_DST_CONNECT_OBJECT2 = 0x00000001; const uint32_t RTMP_SRC_DST_CONNECT_OBJECT2 = 0x00000001;
......
...@@ -1194,7 +1194,7 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux ) ...@@ -1194,7 +1194,7 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
msg_Dbg( p_demux, "found text subtitles header" ); msg_Dbg( p_demux, "found text subtitles header" );
p_stream->fmt.i_cat = SPU_ES; p_stream->fmt.i_cat = SPU_ES;
p_stream->fmt.i_codec = VLC_FOURCC('s','u','b','t'); p_stream->fmt.i_codec = VLC_FOURCC('s','u','b','t');
p_stream->f_rate = 1000; /* granulepos is in milisec */ p_stream->f_rate = 1000; /* granulepos is in millisec */
} }
else else
{ {
......
...@@ -999,7 +999,7 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -999,7 +999,7 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input )
} }
else if( p_stream->i_cat == SPU_ES ) else if( p_stream->i_cat == SPU_ES )
{ {
/* granulepos is in milisec */ /* granulepos is in millisec */
op.granulepos = ( p_data->i_dts - p_sys->i_start_dts ) / 1000; op.granulepos = ( p_data->i_dts - p_sys->i_start_dts ) / 1000;
} }
......
...@@ -282,7 +282,7 @@ static int CreateFilter ( vlc_object_t *p_this ) ...@@ -282,7 +282,7 @@ static int CreateFilter ( vlc_object_t *p_this )
p_sys->i_alpha = var_CreateGetIntegerCommand( p_this, RMTOSD_CFG "alpha" ); p_sys->i_alpha = var_CreateGetIntegerCommand( p_this, RMTOSD_CFG "alpha" );
/* in miliseconds, 0 disables polling, should not be lower than 100 */ /* in milliseconds, 0 disables polling, should not be lower than 100 */
p_sys->i_vnc_poll_interval = var_CreateGetIntegerCommand( p_this, p_sys->i_vnc_poll_interval = var_CreateGetIntegerCommand( p_this,
RMTOSD_CFG "update" ); RMTOSD_CFG "update" );
if ( p_sys->i_vnc_poll_interval < 100) if ( p_sys->i_vnc_poll_interval < 100)
......
...@@ -96,7 +96,7 @@ misc.cachedir(): Get the user's VLC cache directory. ...@@ -96,7 +96,7 @@ misc.cachedir(): Get the user's VLC cache directory.
misc.datadir_list( name ): FIXME: write description ... or ditch function if it isn't usefull anymore, we have datadir and userdatadir :) misc.datadir_list( name ): FIXME: write description ... or ditch function if it isn't usefull anymore, we have datadir and userdatadir :)
misc.mdate(): Get the current date (in miliseconds). misc.mdate(): Get the current date (in milliseconds).
misc.lock_and_wait(): Lock our object thread and wait for a wake up signal. misc.lock_and_wait(): Lock our object thread and wait for a wake up signal.
misc.signal(): Wake up our object thread. misc.signal(): Wake up our object thread.
...@@ -111,7 +111,7 @@ net.url_parse( url, [option delimiter] ): Parse URL. Returns a table with ...@@ -111,7 +111,7 @@ net.url_parse( url, [option delimiter] ): Parse URL. Returns a table with
"option". "option".
net.listen_tcp( host, port ): Listen to TCP connections. This returns an net.listen_tcp( host, port ): Listen to TCP connections. This returns an
object with an accept method. This method takes an optional timeout object with an accept method. This method takes an optional timeout
argument (in miliseconds). For example: argument (in milliseconds). For example:
local l = vlc.net.listen_tcp( "localhost", 1234 ) local l = vlc.net.listen_tcp( "localhost", 1234 )
while true do while true do
local fd = l:accept( 500 ) local fd = l:accept( 500 )
......
...@@ -336,7 +336,7 @@ static int ExecuteHelp( vlm_message_t **pp_status ) ...@@ -336,7 +336,7 @@ static int ExecuteHelp( vlm_message_t **pp_status )
MessageAddChild( "play [input_number]" ); MessageAddChild( "play [input_number]" );
MessageAddChild( "pause" ); MessageAddChild( "pause" );
MessageAddChild( "stop" ); MessageAddChild( "stop" );
MessageAddChild( "seek [+-](percentage) | [+-](seconds)s | [+-](miliseconds)ms" ); MessageAddChild( "seek [+-](percentage) | [+-](seconds)s | [+-](milliseconds)ms" );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
...@@ -412,19 +412,19 @@ static const char *const ppsz_align_descriptions[] = ...@@ -412,19 +412,19 @@ static const char *const ppsz_align_descriptions[] =
#define VIDEO_TITLE_SHOW_LONGTEXT N_( \ #define VIDEO_TITLE_SHOW_LONGTEXT N_( \
"Display the title of the video on top of the movie.") "Display the title of the video on top of the movie.")
#define VIDEO_TITLE_TIMEOUT_TEXT N_("Show video title for x miliseconds") #define VIDEO_TITLE_TIMEOUT_TEXT N_("Show video title for x milliseconds")
#define VIDEO_TITLE_TIMEOUT_LONGTEXT N_( \ #define VIDEO_TITLE_TIMEOUT_LONGTEXT N_( \
"Show the video title for n miliseconds, default is 5000 ms (5 sec.)") "Show the video title for n milliseconds, default is 5000 ms (5 sec.)")
#define VIDEO_TITLE_POSITION_TEXT N_("Position of video title") #define VIDEO_TITLE_POSITION_TEXT N_("Position of video title")
#define VIDEO_TITLE_POSITION_LONGTEXT N_( \ #define VIDEO_TITLE_POSITION_LONGTEXT N_( \
"Place on video where to display the title (default bottom center).") "Place on video where to display the title (default bottom center).")
#define MOUSE_HIDE_TIMEOUT_TEXT N_("Hide cursor and fullscreen " \ #define MOUSE_HIDE_TIMEOUT_TEXT N_("Hide cursor and fullscreen " \
"controller after x miliseconds") "controller after x milliseconds")
#define MOUSE_HIDE_TIMEOUT_LONGTEXT N_( \ #define MOUSE_HIDE_TIMEOUT_LONGTEXT N_( \
"Hide mouse cursor and fullscreen controller after " \ "Hide mouse cursor and fullscreen controller after " \
"n miliseconds, default is 3000 ms (3 sec.)") "n milliseconds, default is 3000 ms (3 sec.)")
static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }; static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
static const char *const ppsz_pos_descriptions[] = static const char *const ppsz_pos_descriptions[] =
......
...@@ -265,7 +265,7 @@ mtime_t mdate( void ) ...@@ -265,7 +265,7 @@ mtime_t mdate( void )
} }
else else
{ {
/* Fallback on timeGetTime() which has a milisecond resolution /* Fallback on timeGetTime() which has a millisecond resolution
* (actually, best case is about 5 ms resolution) * (actually, best case is about 5 ms resolution)
* timeGetTime() only returns a DWORD thus will wrap after * timeGetTime() only returns a DWORD thus will wrap after
* about 49.7 days so we try to detect the wrapping. */ * about 49.7 days so we try to detect the wrapping. */
......
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