cache: Don't mess up current position if time-based seek fails
[mplayer/glamo.git] / options.h
blob08e75fa6a8a5e392ef1fdfac0e284b60f3a89b80
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 chapterrange[2];
33 int edition_id;
34 int correct_pts;
35 int user_correct_pts;
36 int user_pts_assoc_mode;
37 int key_fifo_size;
38 int doubleclick_time;
39 int audio_id;
40 int video_id;
41 int sub_id;
42 char *audio_lang;
43 char *sub_lang;
44 float playback_speed;
45 float drc_level;
46 struct m_obj_settings *vf_settings;
47 int softzoom;
48 float movie_aspect;
49 float screen_size_xy;
50 int flip;
51 int vd_use_slices;
52 int ass_enabled;
53 struct lavc_param {
54 int workaround_bugs;
55 int error_resilience;
56 int error_concealment;
57 int gray;
58 int vstats;
59 int idct_algo;
60 int debug;
61 int vismv;
62 int skip_top;
63 int skip_bottom;
64 int fast;
65 char *lowres_str;
66 char *skip_loop_filter_str;
67 char *skip_idct_str;
68 char *skip_frame_str;
69 int threads;
70 int bitexact;
71 char *avopt;
72 } lavc_param;
74 struct lavfdopts {
75 unsigned int probesize;
76 unsigned int analyzeduration;
77 char *format;
78 char *cryptokey;
79 char *avopt;
80 } lavfdopts;
82 struct input_conf {
83 char *config_file;
84 unsigned int ar_delay;
85 unsigned int ar_rate;
86 char *js_dev;
87 char *ar_dev;
88 char *in_file;
89 int use_joystick;
90 int use_lirc;
91 int use_lircc;
92 int use_ar; // apple remote
93 int default_bindings;
94 } input;
95 } MPOpts;
97 #endif