[vlc-devel] commit: Play more than one media to improve coverage a bit ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Jun 1 17:31:38 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 1 18:31:28 2009 +0300| [c01710dd232695150ce10e7b1a8112781eacdd54] | committer: Rémi Denis-Courmont
Play more than one media to improve coverage a bit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c01710dd232695150ce10e7b1a8112781eacdd54
---
test/libvlc/media_list_player.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/test/libvlc/media_list_player.c b/test/libvlc/media_list_player.c
index 712e0fe..49a1443 100644
--- a/test/libvlc/media_list_player.c
+++ b/test/libvlc/media_list_player.c
@@ -92,8 +92,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 );
More information about the vlc-devel
mailing list