configure: --enable-debug: don't change other compiler flags
[mplayer.git] / defaultopts.c
blobda557117bf2a9c7dbb2788cb63aa592b43143246
1 #include <stddef.h>
3 #include "config.h"
4 #include "defaultopts.h"
5 #include "options.h"
7 void set_default_mplayer_options(struct MPOpts *opts)
9 *opts = (const struct MPOpts){
10 .audio_driver_list = NULL,
11 .video_driver_list = NULL,
12 .fixed_vo = 1,
13 .softvol_max = 110,
14 .ao_buffersize = -1,
15 .monitor_pixel_aspect = 1.0,
16 .vo_panscanrange = 1.0,
17 .cursor_autohide_delay = 1000,
18 .vo_gamma_gamma = 1000,
19 .vo_gamma_brightness = 1000,
20 .vo_gamma_contrast = 1000,
21 .vo_gamma_saturation = 1000,
22 .vo_gamma_hue = 1000,
23 .osd_level = 1,
24 .osd_duration = 1000,
25 .stream_dump_name = "stream.dump",
26 .loop_times = -1,
27 .ordered_chapters = 1,
28 .chapter_merge_threshold = 100,
29 .stream_cache_min_percent = 20.0,
30 .stream_cache_seek_min_percent = 50.0,
31 .chapterrange = {-1, -1},
32 .edition_id = -1,
33 .user_correct_pts = -1,
34 .initial_audio_sync = 1,
35 .term_osd = 1,
36 .term_osd_esc = "\x1b[A\r\x1b[K",
37 .consolecontrols = 1,
38 .doubleclick_time = 300,
39 .audio_id = -1,
40 .video_id = -1,
41 .sub_id = -1,
42 .extension_parsing = 1,
43 .audio_output_channels = 2,
44 .audio_output_format = -1, // AF_FORMAT_UNKNOWN
45 .playback_speed = 1.,
46 .drc_level = 1.,
47 .movie_aspect = -1.,
48 .flip = -1,
49 .vd_use_slices = 1,
50 .sub_auto = 1,
51 #ifdef CONFIG_ASS
52 .ass_enabled = 1,
53 #endif
54 .ass_font_scale = 1,
55 .ass_vsfilter_aspect_compat = 1,
56 .use_embedded_fonts = 1,
58 .lavc_param = {
59 .workaround_bugs = 1, // autodetect
60 .error_concealment = 3,
62 .input = {
63 .config_file = "input.conf",
64 .key_fifo_size = 7,
65 .ar_delay = 100,
66 .ar_rate = 8,
67 .use_joystick = 1,
68 .use_lirc = 1,
69 .use_lircc = 1,
70 #ifdef CONFIG_APPLE_REMOTE
71 .use_ar = 1,
72 #endif
73 .default_bindings = 1,