* \return empty media list, or NULL on error
*/
VLC_PUBLIC_API libvlc_media_list_t *
* \return empty media list, or NULL on error
*/
VLC_PUBLIC_API libvlc_media_list_t *
* The libvlc_media_list_lock should NOT be held upon entering this function.
*
* \param p_ml a media list instance
* The libvlc_media_list_lock should NOT be held upon entering this function.
*
* \param p_ml a media list instance
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
/**
* Insert media instance in media list on a position
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
/**
* Insert media instance in media list on a position
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
* \param i_pos position in array where to insert
* \return 0 on success, -1 if the media list si read-only
*/
VLC_PUBLIC_API int
* \param i_pos position in array where to insert
* \return 0 on success, -1 if the media list si read-only
*/
VLC_PUBLIC_API int
-libvlc_media_list_insert_media( libvlc_media_list_t *,
- libvlc_media_t *, int );
+libvlc_media_list_insert_media( libvlc_media_list_t *p_ml,
+ libvlc_media_t *p_md, int i_pos );
/**
* Find index position of List media instance in media list.
* Warning: the function will return the first matched position.
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
/**
* Find index position of List media instance in media list.
* Warning: the function will return the first matched position.
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
* \return position of media instance
*/
VLC_PUBLIC_API int
libvlc_media_list_index_of_item( libvlc_media_list_t *p_ml,
* \return position of media instance
*/
VLC_PUBLIC_API int
libvlc_media_list_index_of_item( libvlc_media_list_t *p_ml,