Commit 7d23abf0 authored by Laurent Aimar's avatar Laurent Aimar

Fixed input_ItemNewExt* prototype (mtime_t for duration, close #1205)

parent 68443863
......@@ -190,8 +190,8 @@ VLC_EXPORT(int, input_ItemAddInfo, ( input_item_t *p_i, const char *psz_cat, con
#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 ) );
......
......@@ -199,8 +199,10 @@ input_item_t *input_ItemGetById( playlist_t *p_playlist, int i_id )
}
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,
......@@ -209,8 +211,10 @@ input_item_t *__input_ItemNewExt( vlc_object_t *p_obj, const char *psz_uri,
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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment