[vlc-devel] commit: jvlc: honour asynchronousness of the libvlc_media_list_player_pause native method (Filippo Carone )
git version control
git at videolan.org
Mon Sep 21 00:51:00 CEST 2009
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Mon Sep 21 00:44:43 2009 +0200| [097ba5d119cb9baa52d2587d9fb96df573248f1e] | committer: Filippo Carone
jvlc: honour asynchronousness of the libvlc_media_list_player_pause native method
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=097ba5d119cb9baa52d2587d9fb96df573248f1e
---
.../jvlc/internal/LibVlcMediaListPlayerTest.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcMediaListPlayerTest.java b/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcMediaListPlayerTest.java
index bf7c469..41ea8c0 100644
--- a/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcMediaListPlayerTest.java
+++ b/bindings/java/core/src/test/java/org/videolan/jvlc/internal/LibVlcMediaListPlayerTest.java
@@ -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);
More information about the vlc-devel
mailing list