demux_ts: cleanup
[mplayer/greg.git] / options.h
blob66048e77b282f8226a102b103ca4f45ca35c35b5
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 auto_quality;
35 int benchmark;
36 char *stream_dump_name;
37 int capture_dump;
38 int loop_times;
39 int ordered_chapters;
40 int chapter_merge_threshold;
41 int quiet;
42 float stream_cache_min_percent;
43 float stream_cache_seek_min_percent;
44 int chapterrange[2];
45 int edition_id;
46 int correct_pts;
47 int user_correct_pts;
48 int user_pts_assoc_mode;
49 int initial_audio_sync;
50 int autosync;
51 int softsleep;
52 int rtc;
53 char *rtc_device;
54 int term_osd;
55 char *term_osd_esc;
56 char *playing_msg;
57 int player_idle_mode;
58 int key_fifo_size;
59 int consolecontrols;
60 int doubleclick_time;
61 int list_properties;
62 int audio_id;
63 int video_id;
64 int sub_id;
65 char *audio_lang;
66 char *sub_lang;
67 int hr_mp3_seek;
69 char *audio_stream;
70 int audio_stream_cache;
71 char *sub_stream;
72 char *demuxer_name;
73 char *audio_demuxer_name;
74 char *sub_demuxer_name;
75 int extension_parsing;
77 int audio_output_channels;
78 int audio_output_format;
79 float playback_speed;
80 float drc_level;
81 struct m_obj_settings *vf_settings;
82 int softzoom;
83 float movie_aspect;
84 float screen_size_xy;
85 int flip;
86 int vd_use_slices;
87 int ass_enabled;
88 struct lavc_param {
89 int workaround_bugs;
90 int error_resilience;
91 int error_concealment;
92 int gray;
93 int vstats;
94 int idct_algo;
95 int debug;
96 int vismv;
97 int skip_top;
98 int skip_bottom;
99 int fast;
100 char *lowres_str;
101 char *skip_loop_filter_str;
102 char *skip_idct_str;
103 char *skip_frame_str;
104 int threads;
105 int bitexact;
106 char *avopt;
107 } lavc_param;
109 struct lavfdopts {
110 unsigned int probesize;
111 unsigned int analyzeduration;
112 char *format;
113 char *cryptokey;
114 char *avopt;
115 } lavfdopts;
117 struct input_conf {
118 char *config_file;
119 unsigned int ar_delay;
120 unsigned int ar_rate;
121 char *js_dev;
122 char *ar_dev;
123 char *in_file;
124 int use_joystick;
125 int use_lirc;
126 int use_lircc;
127 int use_ar; // apple remote
128 int default_bindings;
129 } input;
130 } MPOpts;
132 #endif