core: Set mpctx->chapters to NULL at uninit
[mplayer/glamo.git] / options.h
blob08a150bbdde67d6939695aaf9caae1c71e51c14e
1 #ifndef MPLAYER_OPTIONS_H
2 #define MPLAYER_OPTIONS_H
4 typedef struct MPOpts {
5 char **video_driver_list;
6 char **audio_driver_list;
7 int fixed_vo;
8 int vo_ontop;
9 int screen_size_x;
10 int screen_size_y;
11 int vo_screenwidth;
12 int vo_screenheight;
13 int force_window_position;
14 float force_monitor_aspect;
15 float monitor_pixel_aspect;
16 int vidmode;
17 int fullscreen;
18 int vo_dbpp;
19 float vo_panscanrange;
21 // ranges -100 - 100, 1000 if the vo default should be used
22 int vo_gamma_gamma;
23 int vo_gamma_brightness;
24 int vo_gamma_contrast;
25 int vo_gamma_saturation;
26 int vo_gamma_hue;
28 int osd_level;
29 int osd_duration;
30 int loop_times;
31 int ordered_chapters;
32 int correct_pts;
33 int user_correct_pts;
34 int key_fifo_size;
35 int doubleclick_time;
36 int audio_id;
37 int video_id;
38 int sub_id;
39 float playback_speed;
40 struct m_obj_settings *vf_settings;
41 int softzoom;
42 float movie_aspect;
43 float screen_size_xy;
44 int flip;
45 int vd_use_slices;
46 struct lavc_param {
47 int workaround_bugs;
48 int error_resilience;
49 int error_concealment;
50 int gray;
51 int vstats;
52 int idct_algo;
53 int debug;
54 int vismv;
55 int skip_top;
56 int skip_bottom;
57 int fast;
58 char *lowres_str;
59 char *skip_loop_filter_str;
60 char *skip_idct_str;
61 char *skip_frame_str;
62 int threads;
63 int bitexact;
64 char *avopt;
65 } lavc_param;
66 struct input_conf {
67 char *config_file;
68 unsigned int ar_delay;
69 unsigned int ar_rate;
70 char *js_dev;
71 char *ar_dev;
72 char *in_file;
73 int use_joystick;
74 int use_lirc;
75 int use_lircc;
76 int use_ar; // apple remote
77 int default_bindings;
78 } input;
79 } MPOpts;
81 #endif