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