Changeset 58c603a430be6ba8e724bd1f37dd89a56259cee9

Show
Ignore:
Timestamp:
27/08/07 16:45:15 (1 year ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1188225915 +0000
git-parent:

[25744ed00ef5f72201b4791800ffaed873b4ac6a]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1188225915 +0000
Message:

control/media_list.c: add_media_descriptor at the end of the list.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/media_list.c

    r48586f5 r58c603a  
    337337    (void)p_e; 
    338338    libvlc_media_descriptor_retain( p_md ); 
    339     ARRAY_APPEND( p_mlist->items, p_md ); 
     339    ARRAY_INSERT( p_mlist->items, p_md, p_mlist->items.i_size ); 
    340340    notify_item_addition( p_mlist, p_md, p_mlist->items.i_size-1 ); 
    341341    install_media_descriptor_observer( p_mlist, p_md );