Hi

I found the cause of the Bug I reported here:
http://mantis.rivendellaudio.org/view.php?id=52

The cae_output_status_flags array, which is created in lib/rdcae.h was
never initialized. So the function RDCae::playPortActive always returned
true.
And therefore the Stop RML scripts were never executed.

here is a patch to lib/rdcae.cpp:
*** rivendell-2.1.4-orig/lib/rdcae.cpp  2011-10-31 20:18:21.000000000
+0100
--- rivendell-2.1.4-sl/lib/rdcae.cpp    2012-06-26 20:56:11.000000000
+0200
*************** RDCae::RDCae(RDStation *station,RDConfig
*** 80,85 ****
--- 80,87 ----
        cae_output_positions[i][j]=0;
      }
    }
+   // init cae_output_status_flags
+   memset(cae_output_status_flags, 0,
sizeof(cae_output_status_flags));
  
    //
    // The Clock Timer
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to