Changeset 02c94f5640a01d2039e025f596208b391f35a4e4
- Timestamp:
- 15/02/05 18:33:58
(4 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1108488838 +0000
- git-parent:
[c959f01d691322d09acfe4345a547f081d85f74e]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1108488838 +0000
- Message:
* renamed audio-channel to audio-track so ppl don't confuse it with audio-channels
* renamed spu-channel to spu-track
* "Tracks settings" should be "Track settings"
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re3a434c |
r02c94f5 |
|
| 112 | 112 | static inline int access2_vaControl( access_t *p_access, int i_query, va_list args ) |
|---|
| 113 | 113 | { |
|---|
| | 114 | if( !p_access ) return VLC_EGENERIC; |
|---|
| 114 | 115 | return p_access->pf_control( p_access, i_query, args ); |
|---|
| 115 | 116 | } |
|---|
| rbf12bbf |
r02c94f5 |
|
| 34 | 34 | ES_OUT_MODE_NONE, /* don't select anything */ |
|---|
| 35 | 35 | ES_OUT_MODE_ALL, /* eg for stream output */ |
|---|
| 36 | | ES_OUT_MODE_AUTO, /* best audio/video or for input follow audio-channel, spu-channel */ |
|---|
| | 36 | ES_OUT_MODE_AUTO, /* best audio/video or for input follow audio-track, spu-track */ |
|---|
| 37 | 37 | ES_OUT_MODE_PARTIAL /* select programs given after --programs */ |
|---|
| 38 | 38 | }; |
|---|
| r6ad10b6 |
r02c94f5 |
|
| 250 | 250 | if( !p_input ) return NULL; |
|---|
| 251 | 251 | |
|---|
| 252 | | if( var_Get( p_input, "spu-channel", &val ) ) |
|---|
| | 252 | if( var_Get( p_input, "spu-track", &val ) ) |
|---|
| 253 | 253 | { |
|---|
| 254 | 254 | vlc_object_release( p_input ); |
|---|
| r2cd5aed |
r02c94f5 |
|
| 675 | 675 | sizer->Add( disc_sub, 1, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL ); |
|---|
| 676 | 676 | disc_sub->SetRange( -1, 255 ); |
|---|
| 677 | | i_disc_sub = config_GetInt( p_intf, "spu-channel" ); |
|---|
| | 677 | i_disc_sub = config_GetInt( p_intf, "spu-track" ); |
|---|
| 678 | 678 | disc_sub->SetValue( i_disc_sub ); |
|---|
| 679 | 679 | |
|---|
| … | … | |
| 832 | 832 | |
|---|
| 833 | 833 | if( i_disc_sub >= 0 ) |
|---|
| 834 | | mrltemp += wxString::Format( wxT(" :spu-channel=%d"), |
|---|
| | 834 | mrltemp += wxString::Format( wxT(" :spu-track=%d"), |
|---|
| 835 | 835 | i_disc_sub ); |
|---|
| 836 | 836 | break; |
|---|
| … | … | |
| 850 | 850 | |
|---|
| 851 | 851 | if( i_disc_sub >= 0 ) |
|---|
| 852 | | mrltemp += wxString::Format( wxT(" :spu-channel=%d"), |
|---|
| | 852 | mrltemp += wxString::Format( wxT(" :spu-track=%d"), |
|---|
| 853 | 853 | i_disc_sub ); |
|---|
| 854 | 854 | |
|---|
| r236ca7a |
r02c94f5 |
|
| 160 | 160 | |
|---|
| 161 | 161 | /* */ |
|---|
| 162 | | var_Get( p_input, "audio-channel", &val ); |
|---|
| | 162 | var_Get( p_input, "audio-track", &val ); |
|---|
| 163 | 163 | p_sys->i_audio_last = val.i_int; |
|---|
| 164 | 164 | |
|---|
| 165 | | var_Get( p_input, "spu-channel", &val ); |
|---|
| | 165 | var_Get( p_input, "spu-track", &val ); |
|---|
| 166 | 166 | p_sys->i_sub_last = val.i_int; |
|---|
| 167 | 167 | |
|---|
| re512e5b |
r02c94f5 |
|
| 398 | 398 | var_Create( p_input, "audio", VLC_VAR_BOOL | VLC_VAR_DOINHERIT ); |
|---|
| 399 | 399 | |
|---|
| 400 | | var_Create( p_input, "audio-channel", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT ); |
|---|
| 401 | | var_Create( p_input, "spu-channel", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT ); |
|---|
| | 400 | var_Create( p_input, "audio-track", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT ); |
|---|
| | 401 | var_Create( p_input, "spu-track", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT ); |
|---|
| 402 | 402 | |
|---|
| 403 | 403 | var_Create( p_input, "audio-language", VLC_VAR_STRING|VLC_VAR_DOINHERIT ); |
|---|
| r17ce2b1 |
r02c94f5 |
|
| 330 | 330 | "(like DVB streams for example )" ) |
|---|
| 331 | 331 | |
|---|
| 332 | | #define INPUT_CHAN_TEXT N_("Choose audio channel") |
|---|
| 333 | | #define INPUT_CHAN_LONGTEXT N_( \ |
|---|
| 334 | | "Give the stream number of the audio channel you want to use" \ |
|---|
| | 332 | #define INPUT_AUDIOTRACK_TEXT N_("Choose audio track") |
|---|
| | 333 | #define INPUT_AUDIOTRACK_LONGTEXT N_( \ |
|---|
| | 334 | "Give the stream number of the audio track you want to use" \ |
|---|
| 335 | 335 | "(from 0 to n).") |
|---|
| 336 | 336 | |
|---|
| 337 | | #define INPUT_SUB_TEXT N_("Choose subtitles track") |
|---|
| 338 | | #define INPUT_CHAN_LANG_TEXT N_("Choose audio language") |
|---|
| 339 | | #define INPUT_CHAN_LANG_LONGTEXT N_( \ |
|---|
| 340 | | "Give the language of the audio channel you want to use " \ |
|---|
| | 337 | #define INPUT_SUBTRACK_TEXT N_("Choose subtitles track") |
|---|
| | 338 | #define INPUT_SUBTRACK_LONGTEXT N_( \ |
|---|
| | 339 | "Give the stream number of the subtitle track you want to use " \ |
|---|
| | 340 | "(from 0 to n).") |
|---|
| | 341 | |
|---|
| | 342 | #define INPUT_AUDIOTRACK_LANG_TEXT N_("Choose audio language") |
|---|
| | 343 | #define INPUT_AUDIOTRACK_LANG_LONGTEXT N_( \ |
|---|
| | 344 | "Give the language of the audio track you want to use " \ |
|---|
| 341 | 345 | "(comma separted, two or tree letter country code).") |
|---|
| 342 | | #define INPUT_SUB_LANG_TEXT N_("Choose subtitle track") |
|---|
| 343 | | #define INPUT_SUB_LANG_LONGTEXT N_( \ |
|---|
| 344 | | "Give the language of the subtitle channel you want to use " \ |
|---|
| | 346 | |
|---|
| | 347 | #define INPUT_SUBTRACK_LANG_TEXT N_("Choose subtitle track") |
|---|
| | 348 | #define INPUT_SUBTRACK_LANG_LONGTEXT N_( \ |
|---|
| | 349 | "Give the language of the subtitle track you want to use " \ |
|---|
| 345 | 350 | "(comma separted, two or tree letter country code).") |
|---|
| 346 | | |
|---|
| 347 | | |
|---|
| 348 | | #define INPUT_SUB_LONGTEXT N_( \ |
|---|
| 349 | | "Give the stream number of the subtitle channel you want to use " \ |
|---|
| 350 | | "(from 0 to n).") |
|---|
| 351 | 351 | |
|---|
| 352 | 352 | #define INPUT_REPEAT_TEXT N_("Input repetitions") |
|---|
| … | … | |
| 989 | 989 | set_subcategory( SUBCAT_INPUT_ADVANCED ); |
|---|
| 990 | 990 | |
|---|
| 991 | | set_section( N_( "Tracks settings" ), NULL ); |
|---|
| | 991 | set_section( N_( "Track settings" ), NULL ); |
|---|
| 992 | 992 | add_integer( "program", 0, NULL, |
|---|
| 993 | 993 | INPUT_PROGRAM_TEXT, INPUT_PROGRAM_LONGTEXT, VLC_TRUE ); |
|---|
| 994 | 994 | add_string( "programs", "", NULL, |
|---|
| 995 | 995 | INPUT_PROGRAMS_TEXT, INPUT_PROGRAMS_LONGTEXT, VLC_FALSE ); |
|---|
| 996 | | add_integer( "audio-channel", -1, NULL, |
|---|
| 997 | | INPUT_CHAN_TEXT, INPUT_CHAN_LONGTEXT, VLC_FALSE ); |
|---|
| 998 | | add_integer( "spu-channel", -1, NULL, |
|---|
| 999 | | INPUT_SUB_TEXT, INPUT_SUB_LONGTEXT, VLC_FALSE ); |
|---|
| | 996 | add_integer( "audio-track", -1, NULL, |
|---|
| | 997 | INPUT_AUDIOTRACK_TEXT, INPUT_AUDIOTRACK_LONGTEXT, VLC_FALSE ); |
|---|
| | 998 | add_integer( "spu-track", -1, NULL, |
|---|
| | 999 | INPUT_SUBTRACK_TEXT, INPUT_SUBTRACK_LONGTEXT, VLC_FALSE ); |
|---|
| 1000 | 1000 | add_string( "audio-language", "", NULL, |
|---|
| 1001 | | INPUT_CHAN_LANG_TEXT, INPUT_CHAN_LANG_LONGTEXT, VLC_FALSE ); |
|---|
| | 1001 | INPUT_AUDIOTRACK_LANG_TEXT, INPUT_AUDIOTRACK_LANG_LONGTEXT, VLC_FALSE ); |
|---|
| 1002 | 1002 | add_string( "spu-language", "", NULL, |
|---|
| 1003 | | INPUT_SUB_LANG_TEXT, INPUT_SUB_LANG_LONGTEXT, VLC_FALSE ); |
|---|
| | 1003 | INPUT_SUBTRACK_LANG_TEXT, INPUT_SUBTRACK_LANG_LONGTEXT, VLC_FALSE ); |
|---|
| 1004 | 1004 | |
|---|
| 1005 | 1005 | |
|---|