Update MPlayer sources
[mplayer/kovensky.git] / defaultopts.c
blob460b3019d1aa35a51d2b0525816e39e09cb9e05a
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 .loop_times = -1,
23 .ordered_chapters = 1,
24 .edition_id = -1,
25 .user_correct_pts = -1,
26 .key_fifo_size = 7,
27 .doubleclick_time = 300,
28 .audio_id = -1,
29 .video_id = -1,
30 .sub_id = -1,
31 .playback_speed = 1.,
32 .movie_aspect = -1.,
33 .flip = -1,
34 .vd_use_slices = 1,
35 #ifdef CONFIG_ASS
36 .ass_enabled = 1,
37 #endif
38 .lavc_param = {
39 .workaround_bugs = 1, // autodetect
40 .error_resilience = 2,
41 .error_concealment = 3,
42 .threads = 0,
44 .input = {
45 .config_file = "input.conf",
46 .ar_delay = 100,
47 .ar_rate = 8,
48 .use_joystick = 1,
49 .use_lirc = 1,
50 .use_lircc = 1,
51 #ifdef CONFIG_APPLE_REMOTE
52 .use_ar = 1,
53 #else
54 .use_ar = 0,
55 #endif
56 .default_bindings = 1,
61 void set_default_mencoder_options(struct MPOpts *opts)
63 set_default_mplayer_options(opts);
64 opts->user_correct_pts = 0;