VO: Don't reset pause status in VO config() functions
[mplayer.git] / defaultopts.c
blobb35601e9177b860fe53fc97b22434190bb054c7a
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 .user_correct_pts = -1,
24 .key_fifo_size = 7,
25 .doubleclick_time = 300,
26 .audio_id = -1,
27 .video_id = -1,
28 .sub_id = -2,
29 .playback_speed = 1.,
30 .movie_aspect = -1.,
31 .flip = -1,
32 .vd_use_slices = 1,
33 .lavc_param = (struct lavc_param){
34 .workaround_bugs = 1, // autodetect
35 .error_resilience = 2,
36 .error_concealment = 3,
37 .threads = 1,
39 .input = (struct input_conf){
40 .config_file = "input.conf",
41 .ar_delay = 100,
42 .ar_rate = 8,
43 .use_joystick = 1,
44 .use_lirc = 1,
45 .use_lircc = 1,
46 #ifdef CONFIG_APPLE_REMOTE
47 .use_ar = 1,
48 #else
49 .use_ar = 0,
50 #endif
51 .default_binds = 1,
56 void set_default_mencoder_options(struct MPOpts *opts)
58 set_default_mplayer_options(opts);
59 opts->user_correct_pts = 0;