[cvs-annodex] commit (/annodex): phpannodex/trunk/phpannodex/AnnodexWriter.php

ctford nobody at lists.annodex.net
Tue Jan 31 11:27:34 EST 2006


Update of /annodex (new revision 1895)

Modified files:
   phpannodex/trunk/phpannodex/AnnodexWriter.php

Log Message:
Check for errors when importing a cmml clip.

Modified: phpannodex/trunk/phpannodex/AnnodexWriter.php
===================================================================
--- phpannodex/trunk/phpannodex/AnnodexWriter.php	2006-01-30 23:19:50 UTC (rev 1894)
+++ phpannodex/trunk/phpannodex/AnnodexWriter.php	2006-01-31 00:27:34 UTC (rev 1895)
@@ -89,8 +89,10 @@
    * \param $cmml a valid CMML element.
    */
   public function insert_cmml( $at_time, $cmml ) {
-    return anx_insert_cmml( $this->get_anx_handle(), $at_time, 
+    $success = anx_insert_cmml( $this->get_anx_handle(), $at_time, 
         $cmml, strlen( $cmml ) );
+    $this->check_anx_error();
+    return $success;
   }
     
   /** 


-- 
ctford



More information about the cvs-annodex mailing list