vlc_bool_t b_fixed_name; /**< Can the interface change the name ?*/
+ input_stats_t *p_stats; /**< Statistics */
+
vlc_mutex_t lock; /**< Item cannot be changed without this lock */
};
p_i->es = 0;
p_i->i_type = ITEM_TYPE_UNKNOWN;
p_i->b_fixed_name = VLC_TRUE;
+
+ p_i->p_stats = (input_stats_t*) malloc( sizeof( input_stats_t ) );
+ vlc_mutex_init( p_o, &p_i->p_stats->lock );
+
vlc_mutex_init( p_o, &p_i->lock );
}