int index,
libvlc_exception_t * p_e )
{
+
libvlc_media_descriptor_t * p_md;
+ if( index < 0 || index > vlc_array_count( &p_mlist->items ))
+ {
+ libvlc_exception_raise( p_e, "Index out of bounds exception");
+ return;
+ }
+
p_md = vlc_array_item_at_index( &p_mlist->items, index );
notify_item_deletion( p_mlist, p_md, index, EventWillHappen );
int index,
libvlc_exception_t * p_e )
{
+ VLC_UNUSED(p_e);
+
libvlc_media_descriptor_t * p_md;
p_md = vlc_array_item_at_index( &p_mlist->items, index );
libvlc_media_descriptor_retain( p_md );
libvlc_media_descriptor_t * p_searched_md,
libvlc_exception_t * p_e )
{
+ VLC_UNUSED(p_e);
+
libvlc_media_descriptor_t * p_md;
int i;
for ( i = 0; i < vlc_array_count( &p_mlist->items ); i++ )
*
* This indicates if this media list is read-only from a user point of view
**************************************************************************/
-vlc_bool_t libvlc_media_list_is_readonly( libvlc_media_list_t * p_mlist )
+int libvlc_media_list_is_readonly( libvlc_media_list_t * p_mlist )
{
return p_mlist->b_read_only;
}