Changeset 2e0102d92da57379e9b65457b36c8e96f93f35b0
- Timestamp:
- 10/05/06 18:35:01
(2 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 1160066101 +0000
- git-parent:
[81ac662973eda626235f40407d5cda038666e519]
- git-author:
- Sam Hocevar <sam@videolan.org> 1160066101 +0000
- Message:
- Spelling fixes here and there.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r87e02f7 |
r2e0102d |
|
| 333 | 333 | // regpathname is an external pointer |
|---|
| 334 | 334 | // |
|---|
| 335 | | // registry.c is holding it's own internal pointer |
|---|
| | 335 | // registry.c is holding its own internal pointer |
|---|
| 336 | 336 | // localregpathname - which is being allocate/deallocated |
|---|
| 337 | 337 | |
|---|
| r87e02f7 |
r2e0102d |
|
| 4272 | 4272 | #if 1 |
|---|
| 4273 | 4273 | |
|---|
| 4274 | | // prefered compilation with -O2 -ffast-math ! |
|---|
| | 4274 | // preferred compilation with -O2 -ffast-math ! |
|---|
| 4275 | 4275 | |
|---|
| 4276 | 4276 | static double explog10(double x) |
|---|
| rf485214 |
r2e0102d |
|
| 1218 | 1218 | |
|---|
| 1219 | 1219 | /* The AudioStreamSetProperty is not only asynchronious (requiring the locks) |
|---|
| 1220 | | * it is also not Atomic, in it's behaviour. |
|---|
| | 1220 | * it is also not atomic in its behaviour. |
|---|
| 1221 | 1221 | * Therefore we check 5 times before we really give up. |
|---|
| 1222 | 1222 | * FIXME: failing isn't actually implemented yet. */ |
|---|
| r2d824ac |
r2e0102d |
|
| 456 | 456 | i_strip_size = GET2BYTES( p_data ); |
|---|
| 457 | 457 | i_strip_size = __MIN( i_strip_size, i_length ); |
|---|
| 458 | | /* FIXME I don't really understand how it's work; */ |
|---|
| | 458 | /* FIXME I don't really understand how it works; */ |
|---|
| 459 | 459 | i_strip_y1 = i_strip_y2 + GET2BYTES( p_data ); |
|---|
| 460 | 460 | i_strip_x1 = GET2BYTES( p_data ); |
|---|
| r62fffad |
r2e0102d |
|
| 31 | 31 | * FIXME: |
|---|
| 32 | 32 | * DVB subtitles coded as strings of characters are not handled correctly. |
|---|
| 33 | | * The character codes in the string should actually be indexes refering to a |
|---|
| | 33 | * The character codes in the string should actually be indexes referring to a |
|---|
| 34 | 34 | * character table identified in the subtitle descriptor. |
|---|
| 35 | 35 | *****************************************************************************/ |
|---|
| r7f779f6 |
r2e0102d |
|
| 146 | 146 | * High level asf object |
|---|
| 147 | 147 | ****************************************************************************/ |
|---|
| 148 | | /* This is the first header find in a asf file |
|---|
| 149 | | * It's the only object that have subobject */ |
|---|
| | 148 | /* This is the first header found in an asf file |
|---|
| | 149 | * It's the only object that has subobjects */ |
|---|
| 150 | 150 | typedef struct |
|---|
| 151 | 151 | { |
|---|
| rba747c3 |
r2e0102d |
|
| 738 | 738 | if( p_sdp == NULL ) |
|---|
| 739 | 739 | { |
|---|
| 740 | | /* failure occured */ |
|---|
| | 740 | /* failure occurred */ |
|---|
| 741 | 741 | int i_code = 0; |
|---|
| 742 | 742 | const char *psz_error = p_sys->env->getResultMsg(); |
|---|
| r897144d |
r2e0102d |
|
| 150 | 150 | |
|---|
| 151 | 151 | CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding ); |
|---|
| 152 | | CONFIG_GENERIC( "sub-language", String, NULL, preferedLanguage ); |
|---|
| | 152 | CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage ); |
|---|
| 153 | 153 | CONFIG_GENERIC( "freetype-font", String, NULL, font ); /* FIXME -> use file instead of string */ |
|---|
| 154 | 154 | CONFIG_GENERIC( "freetype-color", IntegerList, NULL, fontColor ); |
|---|
| rea92ef2 |
r2e0102d |
|
| 99 | 99 | <widget class="QLabel" name="label" > |
|---|
| 100 | 100 | <property name="text" > |
|---|
| 101 | | <string>Prefered audio language</string> |
|---|
| | 101 | <string>Preferred audio language</string> |
|---|
| 102 | 102 | </property> |
|---|
| 103 | 103 | </widget> |
|---|
| 104 | 104 | </item> |
|---|
| 105 | 105 | <item row="2" column="1" > |
|---|
| 106 | | <widget class="QComboBox" name="preferedAudioLanguage" /> |
|---|
| | 106 | <widget class="QComboBox" name="preferredAudioLanguage" /> |
|---|
| 107 | 107 | </item> |
|---|
| 108 | 108 | <item row="3" column="0" > |
|---|
| rd9aeb97 |
r2e0102d |
|
| 48 | 48 | <widget class="QLabel" name="label_2" > |
|---|
| 49 | 49 | <property name="text" > |
|---|
| 50 | | <string>This is the new VLC default interface. It's dialogs give access to most VLC features.</string> |
|---|
| | 50 | <string>This is the new VLC default interface. Its dialogs give access to most VLC features.</string> |
|---|
| 51 | 51 | </property> |
|---|
| 52 | 52 | <property name="wordWrap" > |
|---|
| r4587e35 |
r2e0102d |
|
| 98 | 98 | <widget class="QLabel" name="label" > |
|---|
| 99 | 99 | <property name="text" > |
|---|
| 100 | | <string>Subtitles prefered language</string> |
|---|
| | 100 | <string>Subtitles preferred language</string> |
|---|
| 101 | 101 | </property> |
|---|
| 102 | 102 | </widget> |
|---|
| 103 | 103 | </item> |
|---|
| 104 | 104 | <item row="0" column="1" > |
|---|
| 105 | | <widget class="QLineEdit" name="preferedLanguage" /> |
|---|
| | 105 | <widget class="QLineEdit" name="preferredLanguage" /> |
|---|
| 106 | 106 | </item> |
|---|
| 107 | 107 | </layout> |
|---|
| r7f779f6 |
r2e0102d |
|
| 1173 | 1173 | if( !dest_tree_item.IsOk() ) return; |
|---|
| 1174 | 1174 | |
|---|
| 1175 | | /* check that we're not trying to move a node into one of it's children */ |
|---|
| | 1175 | /* check that we're not trying to move a node into one of its children */ |
|---|
| 1176 | 1176 | wxTreeItemId parent = dest_tree_item; |
|---|
| 1177 | 1177 | while( parent != treectrl->GetRootItem() ) |
|---|
| … | … | |
| 1276 | 1276 | /* This is a leaf. Append right after it |
|---|
| 1277 | 1277 | * We thus need to find the parrent node and the position of the |
|---|
| 1278 | | * leaf in it's children list */ |
|---|
| | 1278 | * leaf in its children list */ |
|---|
| 1279 | 1279 | wxTreeItemId parent = p->treectrl->GetItemParent( item ); |
|---|
| 1280 | 1280 | PlaylistItem *p_parent = |
|---|
| r62fffad |
r2e0102d |
|
| 1501 | 1501 | p_data->i_pts <= 0 ) |
|---|
| 1502 | 1502 | { |
|---|
| 1503 | | /* XXX yes I know, it's awfull, but it's needed, |
|---|
| | 1503 | /* XXX yes I know, it's awful, but it's needed, |
|---|
| 1504 | 1504 | * so don't remove it ... */ |
|---|
| 1505 | 1505 | p_data->i_pts = p_data->i_dts; |
|---|
| rf485214 |
r2e0102d |
|
| 297 | 297 | |
|---|
| 298 | 298 | #if 0 /* This is bad because the audio output might just be trying to fill |
|---|
| 299 | | * in it's internal buffers. And anyway, it's up to the audio output |
|---|
| | 299 | * in its internal buffers. And anyway, it's up to the audio output |
|---|
| 300 | 300 | * to deal with this kind of starvation. */ |
|---|
| 301 | 301 | |
|---|
| r353ece4 |
r2e0102d |
|
| 86 | 86 | * |
|---|
| 87 | 87 | * \param p_this the calling vlc_object_t |
|---|
| 88 | | * \param psz_module a prefered interface module |
|---|
| | 88 | * \param psz_module a preferred interface module |
|---|
| 89 | 89 | * \param i_options number additional options |
|---|
| 90 | 90 | * \param ppsz_options additional option strings |
|---|
| r2ffa2bd |
r2e0102d |
|
| 1111 | 1111 | { |
|---|
| 1112 | 1112 | #define FORMAT_STRING " %s --%s%s%s%s%s%s%s " |
|---|
| 1113 | | /* short option ------' | | | | | | | |
|---|
| 1114 | | * option name ------------' | | | | | | |
|---|
| 1115 | | * <bra -------------------------' | | | | | |
|---|
| 1116 | | * option type or "" --------------' | | | | |
|---|
| 1117 | | * ket> -----------------------------' | | | |
|---|
| 1118 | | * padding spaces ---------------------' | | |
|---|
| 1119 | | * comment -------------------------------' | |
|---|
| 1120 | | * comment suffix --------------------------' |
|---|
| | 1113 | /* short option ------' | | | | | | | |
|---|
| | 1114 | * option name ------------' | | | | | | |
|---|
| | 1115 | * <bra ---------------------' | | | | | |
|---|
| | 1116 | * option type or "" ----------' | | | | |
|---|
| | 1117 | * ket> -------------------------' | | | |
|---|
| | 1118 | * padding spaces -----------------' | | |
|---|
| | 1119 | * comment --------------------------' | |
|---|
| | 1120 | * comment suffix ---------------------' |
|---|
| 1121 | 1121 | * |
|---|
| 1122 | 1122 | * The purpose of having bra and ket is that we might i18n them as well. |
|---|
| rf485214 |
r2e0102d |
|
| 547 | 547 | { |
|---|
| 548 | 548 | int i; |
|---|
| 549 | | /* look for a previous occurence of this release */ |
|---|
| | 549 | /* look for a previous occurrence of this release */ |
|---|
| 550 | 550 | for( i = 0; i < p_update->i_releases; i++ ) |
|---|
| 551 | 551 | { |
|---|
| reb463ca |
r2e0102d |
|
| 937 | 937 | else i_name_len = strlen( psz_option ); |
|---|
| 938 | 938 | |
|---|
| 939 | | /* It's too much of an hassle to remove the ':' when we parse |
|---|
| | 939 | /* It's too much of a hassle to remove the ':' when we parse |
|---|
| 940 | 940 | * the cmd line :) */ |
|---|
| 941 | 941 | if( i_name_len && *psz_option == ':' ) |
|---|
| r3a2e81d |
r2e0102d |
|
| 175 | 175 | * \param i_pos the position in the playlist where to add. If this is |
|---|
| 176 | 176 | * PLAYLIST_END the item will be added at the end of the playlist |
|---|
| 177 | | * regardless of it's size |
|---|
| | 177 | * regardless of its size |
|---|
| 178 | 178 | * \param b_playlist TRUE for playlist, FALSE for media library |
|---|
| 179 | 179 | * \return The id of the playlist item |
|---|
| … | … | |
| 196 | 196 | * \param i_pos the position in the playlist where to add. If this is |
|---|
| 197 | 197 | * PLAYLIST_END the item will be added at the end of the playlist |
|---|
| 198 | | * regardless of it's size |
|---|
| | 198 | * regardless of its size |
|---|
| 199 | 199 | * \param i_duration length of the item in milliseconds. |
|---|
| 200 | 200 | * \param ppsz_options an array of options |
|---|