diff options
author | ptt <ptt@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-25 16:47:56 +0000 |
---|---|---|
committer | ptt <ptt@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-25 16:47:56 +0000 |
commit | 928da7a4484938cef38ae682837cf857999e853d (patch) | |
tree | f9da93bc2452fcccc35368d1bee9aa3b9631144f /m_option.h | |
parent | c8c0aa686f8a4ac6ec7ffd3e748d8475cb2f8f97 (diff) | |
download | mpv-928da7a4484938cef38ae682837cf857999e853d.tar.bz2 mpv-928da7a4484938cef38ae682837cf857999e853d.tar.xz |
after a long time, finally i could add -endpos option to mplayer executable.
as oded told me on 1006 02 24, i applied it, blame me if some problem occurs,
i hope not, since i tried it for a while....
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19979 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_option.h')
-rw-r--r-- | m_option.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/m_option.h b/m_option.h index 82f67cd3ad..443b5d8d4e 100644 --- a/m_option.h +++ b/m_option.h @@ -28,6 +28,7 @@ extern m_option_type_t m_option_type_double; extern m_option_type_t m_option_type_string; extern m_option_type_t m_option_type_string_list; extern m_option_type_t m_option_type_position; +extern m_option_type_t m_option_type_time_size; extern m_option_type_t m_option_type_print; extern m_option_type_t m_option_type_print_indirect; @@ -59,6 +60,14 @@ typedef m_opt_func_full_t cfg_func_arg_param_t; typedef m_opt_func_param_t cfg_func_param_t; typedef m_opt_func_t cfg_func_t; +#define END_AT_NONE 0 +#define END_AT_TIME 1 +#define END_AT_SIZE 2 +typedef struct { + double pos; + int type; +} m_time_size_t; + /// Extra definition needed for \ref m_option_type_obj_settings_list options. typedef struct { /// Pointer to an array of pointer to some object type description struct. @@ -159,6 +168,7 @@ extern m_obj_params_t m_span_params_def; #define CONF_TYPE_OBJ_PRESETS (&m_option_type_obj_presets) #define CONF_TYPE_CUSTOM_URL (&m_option_type_custom_url) #define CONF_TYPE_OBJ_PARAMS (&m_option_type_obj_params) +#define CONF_TYPE_TIME_SIZE (&m_option_type_time_size) ///////////////////////////////////////////////////////////////////////////////////////////// |