]> git.sesse.net Git - vlc/blobdiff - src/control/testapi.c
fix testapi test: libvlc_instance_(play|pause|stop) are asynchronous, so wait for...
[vlc] / src / control / testapi.c
index 22f4b25341233154225f573f7ae710531eaac261..8149f5b1c6159b19919e61fc99e868264df51e26 100644 (file)
@@ -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 ();
@@ -274,7 +275,7 @@ int main (int argc, char *argv[])
     args[0] = "-vvv";
     args[1] = "-I";
     args[2] = "dummy";
-    args[3] = "--plugin-path=../modules:../../modules";
+    args[3] = "--plugin-path=../modules";
     args[4] = "--vout=dummy";
     args[5] = "--aout=dummy";
     for (int i = 1; i < argc; i++)