#define _VLC__INPUT_H 1
/*****************************************************************************
- * input_item_t: Describes an input and is used to spawn input_thread_t objects.
+ * input_item_t: Describes an input and is used to spawn input_thread_t objects
*****************************************************************************/
struct info_t
{
int i_categories; /**< Number of info categories */
info_category_t **pp_categories; /**< Pointer to the first info category */
+ int i_es; /**< Number of es format descriptions */
+ es_format_t **es; /**< Pointer to an array of es formats */
+
vlc_mutex_t lock; /**< Item cannot be changed without this lock */
};
int i_title;
input_title_t **title;
+ int i_title_offset;
+ int i_seekpoint_offset;
+
+ int i_title_start;
+ int i_title_end;
+ int i_seekpoint_start;
+ int i_seekpoint_end;
+
/* Properties */
vlc_bool_t b_can_pace_control;
vlc_bool_t b_can_pause;
#define INPUT_UPDATE_SIZE 0x0001
#define INPUT_UPDATE_TITLE 0x0010
#define INPUT_UPDATE_SEEKPOINT 0x0020
+#define INPUT_UPDATE_META 0x0040
/* Input control XXX: internal */
#define INPUT_CONTROL_FIFO_SIZE 100
int i_title;
input_title_t **title;
+ int i_title_offset;
+ int i_seekpoint_offset;
+
/* User bookmarks FIXME won't be easy with multiples input */
int i_bookmark;
seekpoint_t **bookmark;
/* Meta datas */
INPUT_ADD_INFO, /* arg1= char * arg2= char * arg3=... res=can fail */
INPUT_GET_INFO, /* arg1= char * arg2= char * arg3= char ** res=can fail*/
-
INPUT_SET_NAME, /* arg1= char * res=can fail */
- /* XXX: all next query aren't working for now */
+ /* Input config options */
+ INPUT_ADD_OPTION, /* arg1= char * arg2= char * res=can fail*/
+
+ /* Input properties */
+ INPUT_GET_BYTE_POSITION, /* arg1= int64_t * res= */
+ INPUT_SET_BYTE_SIZE, /* arg1= int64_t * res= */
+
/* bookmarks */
INPUT_GET_BOOKMARKS, /* arg1= seekpoint_t *** arg2= int * res=can fail */
INPUT_CLEAR_BOOKMARKS, /* res=can fail */