#else
// regpathname is an external pointer
//
- // registry.c is holding it's own internal pointer
+ // registry.c is holding its own internal pointer
// localregpathname - which is being allocate/deallocated
if (localregpathname == 0)
#if 1
-// prefered compilation with -O2 -ffast-math !
+// preferred compilation with -O2 -ffast-math !
static double explog10(double x)
{
}
/* The AudioStreamSetProperty is not only asynchronious (requiring the locks)
- * it is also not Atomic, in it's behaviour.
+ * it is also not atomic in its behaviour.
* Therefore we check 5 times before we really give up.
* FIXME: failing isn't actually implemented yet. */
for( i = 0; i < 5; i++ )
i_strip_id = GET2BYTES( p_data );
i_strip_size = GET2BYTES( p_data );
i_strip_size = __MIN( i_strip_size, i_length );
- /* FIXME I don't really understand how it's work; */
+ /* FIXME I don't really understand how it works; */
i_strip_y1 = i_strip_y2 + GET2BYTES( p_data );
i_strip_x1 = GET2BYTES( p_data );
i_strip_y2 = i_strip_y2 + GET2BYTES( p_data );
*
* FIXME:
* DVB subtitles coded as strings of characters are not handled correctly.
- * The character codes in the string should actually be indexes refering to a
+ * The character codes in the string should actually be indexes referring to a
* character table identified in the subtitle descriptor.
*****************************************************************************/
#include <vlc/vlc.h>
/****************************************************************************
* High level asf object
****************************************************************************/
-/* This is the first header find in a asf file
- * It's the only object that have subobject */
+/* This is the first header found in an asf file
+ * It's the only object that has subobjects */
typedef struct
{
ASF_OBJECT_COMMON
if( p_sdp == NULL )
{
- /* failure occured */
+ /* failure occurred */
int i_code = 0;
const char *psz_error = p_sys->env->getResultMsg();
START_SPREFS_CAT( Subtitles );
CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding );
- CONFIG_GENERIC( "sub-language", String, NULL, preferedLanguage );
+ CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage );
CONFIG_GENERIC( "freetype-font", String, NULL, font ); /* FIXME -> use file instead of string */
CONFIG_GENERIC( "freetype-color", IntegerList, NULL, fontColor );
CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, NULL,
<item row="2" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
- <string>Prefered audio language</string>
+ <string>Preferred audio language</string>
</property>
</widget>
</item>
<item row="2" column="1" >
- <widget class="QComboBox" name="preferedAudioLanguage" />
+ <widget class="QComboBox" name="preferredAudioLanguage" />
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_2" >
<item row="1" column="0" colspan="2" >
<widget class="QLabel" name="label_2" >
<property name="text" >
- <string>This is the new VLC default interface. It's dialogs give access to most VLC features.</string>
+ <string>This is the new VLC default interface. Its dialogs give access to most VLC features.</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
- <string>Subtitles prefered language</string>
+ <string>Subtitles preferred language</string>
</property>
</widget>
</item>
<item row="0" column="1" >
- <widget class="QLineEdit" name="preferedLanguage" />
+ <widget class="QLineEdit" name="preferredLanguage" />
</item>
</layout>
</widget>
if( !dest_tree_item.IsOk() ) return;
- /* check that we're not trying to move a node into one of it's children */
+ /* check that we're not trying to move a node into one of its children */
wxTreeItemId parent = dest_tree_item;
while( parent != treectrl->GetRootItem() )
{
{
/* This is a leaf. Append right after it
* We thus need to find the parrent node and the position of the
- * leaf in it's children list */
+ * leaf in its children list */
wxTreeItemId parent = p->treectrl->GetItemParent( item );
PlaylistItem *p_parent =
(PlaylistItem *)p->treectrl->GetItemData( parent );
if( p_stream->i_stream_id == 0xa0 &&
p_data->i_pts <= 0 )
{
- /* XXX yes I know, it's awfull, but it's needed,
+ /* XXX yes I know, it's awful, but it's needed,
* so don't remove it ... */
p_data->i_pts = p_data->i_dts;
}
p_aout->output.fifo.pp_last = &p_aout->output.fifo.p_first;
#if 0 /* This is bad because the audio output might just be trying to fill
- * in it's internal buffers. And anyway, it's up to the audio output
+ * in its internal buffers. And anyway, it's up to the audio output
* to deal with this kind of starvation. */
/* Set date to 0, to allow the mixer to send a new buffer ASAP */
* You can give some additional options to be used for interface initialization
*
* \param p_this the calling vlc_object_t
- * \param psz_module a prefered interface module
+ * \param psz_module a preferred interface module
* \param i_options number additional options
* \param ppsz_options additional option strings
* \return a pointer to the created interface thread, NULL on error
static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
{
#define FORMAT_STRING " %s --%s%s%s%s%s%s%s "
- /* short option ------' | | | | | | |
- * option name ------------' | | | | | |
- * <bra -------------------------' | | | | |
- * option type or "" --------------' | | | |
- * ket> -----------------------------' | | |
- * padding spaces ---------------------' | |
- * comment -------------------------------' |
- * comment suffix --------------------------'
+ /* short option ------' | | | | | | |
+ * option name ------------' | | | | | |
+ * <bra ---------------------' | | | | |
+ * option type or "" ----------' | | | |
+ * ket> -------------------------' | | |
+ * padding spaces -----------------' | |
+ * comment --------------------------' |
+ * comment suffix ---------------------'
*
* The purpose of having bra and ket is that we might i18n them as well.
*/
if( !strcmp( psz_eltname, "version" ) )
{
int i;
- /* look for a previous occurence of this release */
+ /* look for a previous occurrence of this release */
for( i = 0; i < p_update->i_releases; i++ )
{
p_release = p_update->p_releases + i;
if( psz_value ) i_name_len = psz_value - psz_option;
else i_name_len = strlen( psz_option );
- /* It's too much of an hassle to remove the ':' when we parse
+ /* It's too much of a hassle to remove the ':' when we parse
* the cmd line :) */
if( i_name_len && *psz_option == ':' )
{
* \param i_mode the mode used when adding
* \param i_pos the position in the playlist where to add. If this is
* PLAYLIST_END the item will be added at the end of the playlist
- * regardless of it's size
+ * regardless of its size
* \param b_playlist TRUE for playlist, FALSE for media library
* \return The id of the playlist item
*/
* \param i_mode the mode used when adding
* \param i_pos the position in the playlist where to add. If this is
* PLAYLIST_END the item will be added at the end of the playlist
- * regardless of it's size
+ * regardless of its size
* \param i_duration length of the item in milliseconds.
* \param ppsz_options an array of options
* \param i_options the number of options