From 4dcbe55727fccaf22a2268b7ed5da12088076315 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 1 Jun 2009 18:31:28 +0300 Subject: [PATCH] Play more than one media to improve coverage a bit (cherry picked from commit c01710dd232695150ce10e7b1a8112781eacdd54) --- test/libvlc/media_list_player.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/libvlc/media_list_player.c b/test/libvlc/media_list_player.c index 8594574d1b..0c5a7a656e 100644 --- a/test/libvlc/media_list_player.c +++ b/test/libvlc/media_list_player.c @@ -170,8 +170,11 @@ static void test_media_list_player_play_item_at_index(const char** argv, int arg 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 ); -- 2.39.2