summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h57
1 files changed, 29 insertions, 28 deletions
diff --git a/options/options.h b/options/options.h
index 263caaa8de..160223d3e1 100644
--- a/options/options.h
+++ b/options/options.h
@@ -34,7 +34,7 @@ typedef struct mp_vo_opts {
struct m_geometry autofit;
struct m_geometry autofit_larger;
struct m_geometry autofit_smaller;
- float window_scale;
+ double window_scale;
int keepaspect;
int keepaspect_window;
@@ -51,6 +51,9 @@ typedef struct mp_vo_opts {
struct sws_opts *sws_opts;
// vo_opengl, vo_opengl_cb
int hwdec_preload_api;
+ // vo_drm
+ char *drm_connector_spec;
+ int drm_mode_id;
} mp_vo_opts;
struct mp_cache_opts {
@@ -64,6 +67,7 @@ struct mp_cache_opts {
};
typedef struct MPOpts {
+ int property_print_help;
int use_terminal;
char *dump_stats;
int verbose;
@@ -73,6 +77,8 @@ typedef struct MPOpts {
int msg_time;
char *log_file;
+ int operation_mode;
+
char **reset_options;
char **script_files;
char **script_opts;
@@ -85,6 +91,7 @@ typedef struct MPOpts {
struct m_obj_settings *audio_driver_list, *ao_defs;
char *audio_device;
+ int audio_exclusive;
char *audio_client_name;
int ao_null_fallback;
int audio_stream_silence;
@@ -98,8 +105,7 @@ typedef struct MPOpts {
int gapless_audio;
double audio_buffer;
- mp_vo_opts vo;
- int allow_win_drag;
+ mp_vo_opts *vo;
char *wintitle;
char *media_title;
@@ -127,6 +133,8 @@ typedef struct MPOpts {
int osd_level;
int osd_duration;
int osd_fractions;
+ int video_osd;
+
int untimed;
char *stream_capture;
char *stream_dump;
@@ -145,9 +153,8 @@ typedef struct MPOpts {
int load_config;
char *force_configdir;
int use_filedir_conf;
- int network_rtsp_transport;
int hls_bitrate;
- struct mp_cache_opts stream_cache;
+ struct mp_cache_opts *stream_cache;
int chapterrange[2];
int edition_id;
int correct_pts;
@@ -188,6 +195,7 @@ typedef struct MPOpts {
int position_save_on_quit;
int write_filename_in_watch_later_config;
int ignore_path_in_watch_later_config;
+ char *watch_later_directory;
int pause;
int keep_open;
double image_display_duration;
@@ -207,19 +215,13 @@ typedef struct MPOpts {
int stretch_image_subs;
int sub_fix_timing;
- char *sub_cp;
char **audio_files;
char *demuxer_name;
- int demuxer_max_packs;
- int demuxer_max_bytes;
int demuxer_thread;
- double demuxer_min_secs;
char *audio_demuxer_name;
char *sub_demuxer_name;
- int force_seekable;
- double demuxer_min_secs_cache;
int cache_pausing;
struct image_writer_opts *screenshot_image_opts;
@@ -260,7 +262,7 @@ typedef struct MPOpts {
int sub_scale_with_window;
int ass_scale_with_window;
struct osd_style_opts *osd_style;
- struct osd_style_opts *sub_text_style;
+ struct osd_style_opts *sub_style;
float sub_scale;
float sub_gauss;
int sub_gray;
@@ -278,6 +280,7 @@ typedef struct MPOpts {
int ass_hinting;
int ass_shaper;
int sub_clear_on_seek;
+ int teletext_page;
int hwdec_api;
char *hwdec_codecs;
@@ -285,17 +288,6 @@ typedef struct MPOpts {
int w32_priority;
- int network_cookies_enabled;
- char *network_cookies_file;
- char *network_useragent;
- char *network_referrer;
- char **network_http_header_fields;
- int network_tls_verify;
- char *network_tls_ca_file;
- char *network_tls_cert_file;
- char *network_tls_key_file;
- double network_timeout;
-
struct tv_params *tv_params;
struct pvr_params *stream_pvr_opts;
struct cdda_params *stream_cdda_opts;
@@ -303,11 +295,6 @@ typedef struct MPOpts {
struct stream_lavf_params *stream_lavf_opts;
char *cdrom_device;
- int dvd_title;
- int dvd_angle;
- int dvd_speed;
- char *dvd_device;
- int bluray_angle;
char *bluray_device;
double mf_fps;
@@ -318,6 +305,8 @@ typedef struct MPOpts {
struct demux_lavf_opts *demux_lavf;
struct demux_mkv_opts *demux_mkv;
+ struct demux_opts *demux_opts;
+
struct vd_lavc_params *vd_lavc_params;
struct ad_lavc_params *ad_lavc_params;
@@ -328,9 +317,21 @@ typedef struct MPOpts {
char *ipc_path;
char *input_file;
+
+ struct gl_video_opts *gl_video_opts;
+ struct dvd_opts *dvd_opts;
} MPOpts;
+struct dvd_opts {
+ int angle;
+ int speed;
+ char *device;
+};
+
extern const m_option_t mp_opts[];
extern const struct MPOpts mp_default_opts;
+extern const struct m_sub_options vo_sub_opts;
+extern const struct m_sub_options stream_cache_conf;
+extern const struct m_sub_options dvd_conf;
#endif