4 #include "defaultopts.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
,
14 .monitor_pixel_aspect
= 1.0,
15 .vo_panscanrange
= 1.0,
16 .vo_gamma_gamma
= 1000,
17 .vo_gamma_brightness
= 1000,
18 .vo_gamma_contrast
= 1000,
19 .vo_gamma_saturation
= 1000,
23 .stream_dump_name
= "stream.dump",
25 .ordered_chapters
= 1,
26 .chapter_merge_threshold
= 100,
27 .stream_cache_min_percent
= 20.0,
28 .stream_cache_seek_min_percent
= 50.0,
29 .chapterrange
= {-1, -1},
31 .user_correct_pts
= -1,
32 .initial_audio_sync
= 1,
34 .term_osd_esc
= "\x1b[A\r\x1b[K",
37 .doubleclick_time
= 300,
41 .extension_parsing
= 1,
42 .audio_output_channels
= 2,
43 .audio_output_format
= -1, // AF_FORMAT_UNKNOWN
50 .workaround_bugs
= 1, // autodetect
51 .error_resilience
= 2,
52 .error_concealment
= 3,
56 .config_file
= "input.conf",
62 #ifdef CONFIG_APPLE_REMOTE
67 .default_bindings
= 1,
72 void set_default_mencoder_options(struct MPOpts
*opts
)
74 set_default_mplayer_options(opts
);
75 opts
->user_correct_pts
= 0;