#define input_ItemNew( a,b,c ) input_ItemNewExt( a, b, c, 0, NULL, -1 )
#define input_ItemNewExt(a,b,c,d,e,f) __input_ItemNewExt( VLC_OBJECT(a),b,c,d,e,f)
-VLC_EXPORT( input_item_t *, __input_ItemNewExt, (vlc_object_t *, const char *, const char*, int, const char *const *, int) );
-VLC_EXPORT( input_item_t *, input_ItemNewWithType, ( vlc_object_t *, const char *, const char *e, int, const char *const *, int, int ) );
+VLC_EXPORT( input_item_t *, __input_ItemNewExt, (vlc_object_t *, const char *, const char*, int, const char *const *, mtime_t i_duration ) );
+VLC_EXPORT( input_item_t *, input_ItemNewWithType, ( vlc_object_t *, const char *, const char *e, int, const char *const *, mtime_t i_duration, int ) );
VLC_EXPORT( input_item_t *, input_ItemGetById, (playlist_t *, int ) );
}
input_item_t *__input_ItemNewExt( vlc_object_t *p_obj, const char *psz_uri,
- const char *psz_name, int i_options,
- const char *const *ppsz_options, int i_duration )
+ const char *psz_name,
+ int i_options,
+ const char *const *ppsz_options,
+ mtime_t i_duration )
{
return input_ItemNewWithType( p_obj, psz_uri, psz_name,
i_options, ppsz_options,
input_item_t *input_ItemNewWithType( vlc_object_t *p_obj, const char *psz_uri,
- const char *psz_name, int i_options,
- const char *const *ppsz_options, int i_duration,
+ const char *psz_name,
+ int i_options,
+ const char *const *ppsz_options,
+ mtime_t i_duration,
int i_type )
{
playlist_t *p_playlist = pl_Yield( p_obj );