Merge branch 'mplayer1_changes'
[mplayer/greg.git] / options.h
blob521d3a975192c2e384561bb06ccfefa698c95332
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 gapless_audio;
10 int ao_buffersize;
11 int screen_size_x;
12 int screen_size_y;
13 int vo_screenwidth;
14 int vo_screenheight;
15 int force_window_position;
16 char *vo_winname;
17 char *vo_wintitle;
18 float force_monitor_aspect;
19 float monitor_pixel_aspect;
20 int vidmode;
21 int fullscreen;
22 int vo_dbpp;
23 float vo_panscanrange;
25 // ranges -100 - 100, 1000 if the vo default should be used
26 int vo_gamma_gamma;
27 int vo_gamma_brightness;
28 int vo_gamma_contrast;
29 int vo_gamma_saturation;
30 int vo_gamma_hue;
32 int osd_level;
33 int osd_duration;
34 int osd_fractions;
35 char *vobsub_name;
36 int auto_quality;
37 int benchmark;
38 char *stream_dump_name;
39 int capture_dump;
40 int loop_times;
41 int ordered_chapters;
42 int chapter_merge_threshold;
43 int quiet;
44 int noconfig;
45 float stream_cache_min_percent;
46 float stream_cache_seek_min_percent;
47 int chapterrange[2];
48 int edition_id;
49 int correct_pts;
50 int user_correct_pts;
51 int user_pts_assoc_mode;
52 int initial_audio_sync;
53 int hr_seek;
54 int autosync;
55 int softsleep;
56 int rtc;
57 char *rtc_device;
58 int term_osd;
59 char *term_osd_esc;
60 char *playing_msg;
61 int player_idle_mode;
62 int key_fifo_size;
63 int consolecontrols;
64 int doubleclick_time;
65 int list_properties;
66 int audio_id;
67 int video_id;
68 int sub_id;
69 char **audio_lang;
70 char **sub_lang;
71 int hr_mp3_seek;
73 char *audio_stream;
74 int audio_stream_cache;
75 char *sub_stream;
76 char *demuxer_name;
77 char *audio_demuxer_name;
78 char *sub_demuxer_name;
79 int extension_parsing;
81 int audio_output_channels;
82 int audio_output_format;
83 float playback_speed;
84 float drc_level;
85 struct m_obj_settings *vf_settings;
86 int softzoom;
87 float movie_aspect;
88 float screen_size_xy;
89 int flip;
90 int vd_use_slices;
91 char **sub_name;
92 char **sub_paths;
93 int sub_auto;
94 int ass_enabled;
95 struct lavc_param {
96 int workaround_bugs;
97 int error_resilience;
98 int error_concealment;
99 int gray;
100 int vstats;
101 int idct_algo;
102 int debug;
103 int vismv;
104 int skip_top;
105 int skip_bottom;
106 int fast;
107 char *lowres_str;
108 char *skip_loop_filter_str;
109 char *skip_idct_str;
110 char *skip_frame_str;
111 int threads;
112 int bitexact;
113 char *avopt;
114 } lavc_param;
116 struct lavfdopts {
117 unsigned int probesize;
118 unsigned int analyzeduration;
119 char *format;
120 char *cryptokey;
121 char *avopt;
122 } lavfdopts;
124 struct input_conf {
125 char *config_file;
126 unsigned int ar_delay;
127 unsigned int ar_rate;
128 char *js_dev;
129 char *ar_dev;
130 char *in_file;
131 int use_joystick;
132 int use_lirc;
133 int use_lircc;
134 int use_ar; // apple remote
135 int default_bindings;
136 } input;
137 } MPOpts;
139 #endif