Fixes for mods to api
[melted] / mlt++ / swig / java / Play.java
index 3bf0e47..3f6b4c8 100644 (file)
@@ -32,7 +32,7 @@ public class Play {
 
                        // Wait until the user stops the consumer
                        Object o = new Object();
-                       while (c.is_stopped() == 0) {
+                       while ( !c.is_stopped() ) {
                                synchronized (o) {
                                        try {
                                                o.wait(1000);