mlp = libvlc_media_list_player_new (vlc, &ex);
- libvlc_media_list_add_media( ml, md, &ex );
- catch ();
+ for (unsigned i = 0; i < 5; i++)
+ {
+ libvlc_media_list_add_media( ml, md, &ex );
+ catch ();
+ }
libvlc_media_list_player_set_media_list( mlp, ml, &ex );