From 928da7a4484938cef38ae682837cf857999e853d Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 25 Sep 2006 16:47:56 +0000 Subject: 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 --- m_option.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'm_option.h') 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) ///////////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3