[vlc-devel] commit: fix testapi test: libvlc_instance_(play|pause|stop) are asynchronous, so wait for them (Filippo Carone )

git version control git at videolan.org
Sat Mar 29 01:41:50 CET 2008


vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sat Mar 29 01:42:13 2008 +0100| [f735a19308e260206e26325b26e68f072cb30371]

fix testapi test: libvlc_instance_(play|pause|stop) are asynchronous, so wait for them

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f735a19308e260206e26325b26e68f072cb30371
---

 src/control/testapi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/control/testapi.c b/src/control/testapi.c
index 2bf5682..8149f5b 100644
--- a/src/control/testapi.c
+++ b/src/control/testapi.c
@@ -256,6 +256,7 @@ static void test_media_player_play_stop(const char** argv, int argc)
 
     libvlc_media_instance_stop (mi, &ex);
     catch ();
+    sleep(1);
 
     libvlc_media_instance_release (mi);
     catch ();




More information about the vlc-devel mailing list