[vlma-devel] commit: Correction of a mistake in this logic expression. (Adrien Maglo )

git version control git at videolan.org
Tue May 20 14:38:04 CEST 2008


vlma | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue May 20 14:17:03 2008 +0200| [a213583b21338867440e6ffa57a9d390c18b7afa]

Correction of a mistake in this logic expression.
I don't know where this mistake come from !

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=a213583b21338867440e6ffa57a9d390c18b7afa
---

 .../org/videolan/vlma/monitor/OrderMonitor.java    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java b/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
index 2a5ce16..cf45e89 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/monitor/OrderMonitor.java
@@ -88,11 +88,12 @@ public class OrderMonitor implements Monitor {
                      * recompute.
                      */
                     if (program.isTimeToPlay()) {
-                        if (streams.get(program.getIp()) == null && orderGiver.isComputing()) {
+                        if (streams.get(program.getIp()) == null && !orderGiver.isComputing()) {
                             /*
                              * If the OrderGiver is not computing then it can
                              * modify the data.
                              */
+                            logger.log(Level.DEBUG, "5");
                             program.setPlayer(null);
                             program.setBroadcastState(false);
                             shouldCompute = true;



More information about the vlma-devel mailing list