Commit 097ba5d1 authored by Filippo Carone's avatar Filippo Carone

jvlc: honour asynchronousness of the libvlc_media_list_player_pause native method

parent 5c8603a5
......@@ -213,6 +213,8 @@ public class LibVlcMediaListPlayerTest extends AbstractVLCInternalTest
}
libvlc.libvlc_media_list_player_pause(mediaListPlayer, exception);
Thread.sleep(500);
int state = libvlc.libvlc_media_list_player_get_state(mediaListPlayer, exception);
Assert.assertEquals(0, exception.b_raised);
Thread.sleep(200L);
......
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