* control the pace of reading.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_ext-intf.h,v 1.36 2001/05/01 12:22:18 sam Exp $
+ * $Id: input_ext-intf.h,v 1.38 2001/05/30 17:03:11 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
/* if (b_seekable) : */
int i_area_nb;
- input_area_t ** pp_areas; /* list of areas in stream == offset
- * interval with own properties */
+ input_area_t ** pp_areas; /* list of areas in stream == offset
+ * interval with own properties */
input_area_t * p_selected_area;
+ input_area_t * p_new_area; /* Newly selected area from
+ * the interface */
+
u32 i_mux_rate; /* the rate we read the stream (in
* units of 50 bytes/s) ; 0 if undef */
es_descriptor_t ** pp_es; /* carried elementary streams */
int i_selected_es_number;
es_descriptor_t ** pp_selected_es; /* ES with a decoder */
+ es_descriptor_t * p_newly_selected_es; /* ES selected from
+ * the interface */
+ es_descriptor_t * p_removed_es; /* ES removed from the interface */
+
/* Stream control */
stream_ctrl_t control;
* backwards (it's gonna be fun) */
void (* pf_seek)( struct input_thread_s *, off_t );
+ /* Special callback functions */
+ void (* pf_file_open ) ( struct input_thread_s * );
+ void (* pf_file_close ) ( struct input_thread_s * );
+#if !defined( SYS_BEOS ) && !defined( SYS_NTO )
+ void (* pf_network_open ) ( struct input_thread_s * );
+ void (* pf_network_close ) ( struct input_thread_s * );
+#endif
+
i_p_config_t i_p_config; /* plugin configuration */
char * p_source;
int input_ToggleES ( struct input_thread_s *,
struct es_descriptor_s *,
boolean_t );
+int input_ChangeArea( input_thread_t *, input_area_t * );
+