Mercurial > mplayer.hg
diff m_option.h @ 19973:02a18c52a42a
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....
author | ptt |
---|---|
date | Mon, 25 Sep 2006 16:47:56 +0000 |
parents | 75327b24e06f |
children | cca9ff25bed2 |
line wrap: on
line diff
--- a/m_option.h Mon Sep 25 16:16:19 2006 +0000 +++ b/m_option.h Mon Sep 25 16:47:56 2006 +0000 @@ -28,6 +28,7 @@ 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_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 @@ #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) /////////////////////////////////////////////////////////////////////////////////////////////