Index: /trunk/FACT++/src/ratecontrol.cc
===================================================================
--- /trunk/FACT++/src/ratecontrol.cc	(revision 13717)
+++ /trunk/FACT++/src/ratecontrol.cc	(revision 13718)
@@ -48,4 +48,6 @@
     bool fTriggerOn;
 
+    vector<bool> fBlock;
+
     DimServiceInfoList fNetwork;
 
@@ -154,4 +156,6 @@
         const uint32_t val[2] = { idx,  diff };
         DimClient::sendCommandNB("FTM_CONTROL/SET_THRESHOLD", (void*)val, 8);
+
+        fBlock[idx] = true;
     }
 
@@ -214,6 +218,14 @@
             }
 
+            vector<bool> block(160);
+
             for (int j=0; j<4; j++)
             {
+                if (fBlock[i*4+j])
+                {
+                    fBlock[i*4+j] = false;
+                    continue;
+                }
+
                 // For the noise pixel correct down to median+3*deviation
                 if (maxi==j)
@@ -532,5 +544,5 @@
 public:
     StateMachineRateControl(ostream &out=cout) : StateMachineDim(out, "RATE_CONTROL"),
-        fTriggerOn(false),
+        fTriggerOn(false), fBlock(160),
         fStatusDim(make_pair(Time(), -2)),
         fStatusFTM(make_pair(Time(), -2)),
