options: move [no]hr-mp3-seek to option struct
[mplayer.git] / defaultopts.c
blob0fc79e4df4b3a972c2cf6b60ce74bcbe79c145b6
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 .monitor_pixel_aspect = 1.0,
14 .vo_panscanrange = 1.0,
15 .vo_gamma_gamma = 1000,
16 .vo_gamma_brightness = 1000,
17 .vo_gamma_contrast = 1000,
18 .vo_gamma_saturation = 1000,
19 .vo_gamma_hue = 1000,
20 .osd_level = 1,
21 .osd_duration = 1000,
22 .stream_dump_name = "stream.dump",
23 .loop_times = -1,
24 .ordered_chapters = 1,
25 .chapterrange = {-1, -1},
26 .edition_id = -1,
27 .user_correct_pts = -1,
28 .key_fifo_size = 7,
29 .doubleclick_time = 300,
30 .audio_id = -1,
31 .video_id = -1,
32 .sub_id = -1,
33 .extension_parsing = 1,
34 .audio_output_channels = 2,
35 .audio_output_format = -1, // AF_FORMAT_UNKNOWN
36 .playback_speed = 1.,
37 .drc_level = 1.,
38 .movie_aspect = -1.,
39 .flip = -1,
40 .vd_use_slices = 1,
41 .lavc_param = {
42 .workaround_bugs = 1, // autodetect
43 .error_resilience = 2,
44 .error_concealment = 3,
45 .threads = 1,
47 .input = {
48 .config_file = "input.conf",
49 .ar_delay = 100,
50 .ar_rate = 8,
51 .use_joystick = 1,
52 .use_lirc = 1,
53 .use_lircc = 1,
54 #ifdef CONFIG_APPLE_REMOTE
55 .use_ar = 1,
56 #else
57 .use_ar = 0,
58 #endif
59 .default_bindings = 1,
64 void set_default_mencoder_options(struct MPOpts *opts)
66 set_default_mplayer_options(opts);
67 opts->user_correct_pts = 0;