Changeset d2dff4466b7e125a3734a3e83f3f0e476dc623e8
- Timestamp:
- 12/14/06 21:56:18
(2 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1166129778 +0000
- git-parent:
[fe12c564e835d961d197216fc2e0c08cc8636353]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1166129778 +0000
- Message:
* More compiler warning fixes (const mostly)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd3fe7f2 |
rd2dff44 |
|
| 321 | 321 | { |
|---|
| 322 | 322 | if( b_dump ) |
|---|
| 323 | | vout_OSDMessage( p_vout, p_sys->i_vout_chan, "Recording" ); |
|---|
| | 323 | vout_OSDMessage( p_vout, p_sys->i_vout_chan, _("Recording") ); |
|---|
| 324 | 324 | else |
|---|
| 325 | | vout_OSDMessage( p_vout, p_sys->i_vout_chan, "Recording done" ); |
|---|
| | 325 | vout_OSDMessage( p_vout, p_sys->i_vout_chan, _("Recording done") ); |
|---|
| 326 | 326 | } |
|---|
| 327 | 327 | vlc_object_release( p_vout ); |
|---|
| rd3fe7f2 |
rd2dff44 |
|
| 95 | 95 | "2=rear left, 3=rear right, 4=center, 5=left front)") |
|---|
| 96 | 96 | |
|---|
| 97 | | static int pi_pos_values[] = { 0, 1, 2, 4, 8, 5 }; |
|---|
| 98 | | static char *ppsz_pos_descriptions[] = |
|---|
| | 97 | static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5 }; |
|---|
| | 98 | static const char *ppsz_pos_descriptions[] = |
|---|
| 99 | 99 | { N_("Left"), N_("Right"), N_("Left rear"), N_("Right rear"), N_("Center"), |
|---|
| 100 | 100 | N_("Left front") }; |
|---|
| rd0df040 |
rd2dff44 |
|
| 32 | 32 | |
|---|
| 33 | 33 | #define NB_PRESETS 18 |
|---|
| 34 | | static char *preset_list[] = { |
|---|
| | 34 | static const char *preset_list[] = { |
|---|
| 35 | 35 | "flat", "classical", "club", "dance", "fullbass", "fullbasstreble", |
|---|
| 36 | 36 | "fulltreble", "headphones","largehall", "live", "party", "pop", "reggae", |
|---|
| 37 | 37 | "rock", "ska", "soft", "softrock", "techno" |
|---|
| 38 | 38 | }; |
|---|
| 39 | | static char *preset_list_text[] = { |
|---|
| | 39 | static const char *preset_list_text[] = { |
|---|
| 40 | 40 | N_("Flat"), N_("Classical"), N_("Club"), N_("Dance"), N_("Full bass"), |
|---|
| 41 | 41 | N_("Full bass and treble"), N_("Full treble"), N_("Headphones"), |
|---|
| … | … | |
| 46 | 46 | typedef struct |
|---|
| 47 | 47 | { |
|---|
| 48 | | char *psz_name; |
|---|
| | 48 | const char *psz_name; |
|---|
| 49 | 49 | int i_band; |
|---|
| 50 | 50 | float f_preamp; |
|---|
| rb76d7cf |
rd2dff44 |
|
| 29 | 29 | |
|---|
| 30 | 30 | #include "xstrcat.h" |
|---|
| | 31 | #include "browser_open.h" |
|---|
| 31 | 32 | |
|---|
| 32 | 33 | int browser_Open( const char *psz_url ) |
|---|
| rd7ee68a |
rd2dff44 |
|
| 50 | 50 | *****************************************************************************/ |
|---|
| 51 | 51 | |
|---|
| 52 | | history_t *history_New() |
|---|
| | 52 | history_t *history_New( void ) |
|---|
| 53 | 53 | { |
|---|
| 54 | 54 | history_t *p_new_history; |
|---|
| r2cb472d |
rd2dff44 |
|
| 50 | 50 | * Exported prototypes |
|---|
| 51 | 51 | *****************************************************************************/ |
|---|
| 52 | | history_t * history_New (); |
|---|
| | 52 | history_t * history_New ( void ); |
|---|
| 53 | 53 | vlc_bool_t history_GoBackSavingCurrentItem ( history_t *, |
|---|
| 54 | 54 | history_item_t * ); |
|---|
| rd3fe7f2 |
rd2dff44 |
|
| 62 | 62 | { |
|---|
| 63 | 63 | vlc_fourcc_t i_fourcc; |
|---|
| 64 | | char *psz_sdl_type; |
|---|
| | 64 | const char *psz_sdl_type; |
|---|
| 65 | 65 | } p_supported_fmt[] = |
|---|
| 66 | 66 | { |
|---|
| rd3fe7f2 |
rd2dff44 |
|
| 310 | 310 | |
|---|
| 311 | 311 | #if X264_BUILD >= 24 |
|---|
| 312 | | static char *enc_me_list[] = |
|---|
| | 312 | static const char *enc_me_list[] = |
|---|
| 313 | 313 | { "dia", "hex", "umh", "esa" }; |
|---|
| 314 | | static char *enc_me_list_text[] = |
|---|
| | 314 | static const char *enc_me_list_text[] = |
|---|
| 315 | 315 | { N_("dia"), N_("hex"), N_("umh"), N_("esa") }; |
|---|
| 316 | 316 | #endif |
|---|
| 317 | 317 | |
|---|
| 318 | | static char *enc_analyse_list[] = |
|---|
| | 318 | static const char *enc_analyse_list[] = |
|---|
| 319 | 319 | { "none", "fast", "normal", "slow", "all" }; |
|---|
| 320 | | static char *enc_analyse_list_text[] = |
|---|
| | 320 | static const char *enc_analyse_list_text[] = |
|---|
| 321 | 321 | { N_("none"), N_("fast"), N_("normal"), N_("slow"), N_("all") }; |
|---|
| 322 | 322 | |
|---|
| 323 | 323 | #if X264_BUILD >= 45 /* r457 */ |
|---|
| 324 | | static char *direct_pred_list[] = |
|---|
| | 324 | static const char *direct_pred_list[] = |
|---|
| 325 | 325 | { "none", "spatial", "temporal", "auto" }; |
|---|
| 326 | | static char *direct_pred_list_text[] = |
|---|
| | 326 | static const char *direct_pred_list_text[] = |
|---|
| 327 | 327 | { N_("none"), N_("spatial"), N_("temporal"), N_("auto") }; |
|---|
| 328 | 328 | #else |
|---|
| 329 | | static char *direct_pred_list[] = |
|---|
| | 329 | static const char *direct_pred_list[] = |
|---|
| 330 | 330 | { "none", "spatial", "temporal" }; |
|---|
| 331 | | static char *direct_pred_list_text[] = |
|---|
| | 331 | static const char *direct_pred_list_text[] = |
|---|
| 332 | 332 | { N_("none"), N_("spatial"), N_("temporal") }; |
|---|
| 333 | 333 | #endif |
|---|