Commit f735a193 authored by Filippo Carone's avatar Filippo Carone

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

parent 4e976a6e
...@@ -256,6 +256,7 @@ static void test_media_player_play_stop(const char** argv, int argc) ...@@ -256,6 +256,7 @@ static void test_media_player_play_stop(const char** argv, int argc)
libvlc_media_instance_stop (mi, &ex); libvlc_media_instance_stop (mi, &ex);
catch (); catch ();
sleep(1);
libvlc_media_instance_release (mi); libvlc_media_instance_release (mi);
catch (); catch ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment