[cvs-annodex] commit (/annodex): mod_annodex-ap20/trunk/mod_annodex.c

conrad nobody at lists.annodex.net
Thu Sep 16 15:15:15 EST 2004


Update of /annodex (new revision 583)

Modified files:
   mod_annodex-ap20/trunk/mod_annodex.c

Log Message:
set default MEDIA_BUF_SIZE to 8192


Modified: mod_annodex-ap20/trunk/mod_annodex.c
===================================================================
--- mod_annodex-ap20/trunk/mod_annodex.c	2004-09-16 02:20:39 UTC (rev 582)
+++ mod_annodex-ap20/trunk/mod_annodex.c	2004-09-16 05:15:15 UTC (rev 583)
@@ -74,7 +74,7 @@
 
 #define MAX_ANCHOR_LEN 32768
 
-#define MEDIA_BUF_LEN 1024000
+#define MEDIA_BUF_LEN 8192
 
 /**
  * Print a time as npt using ap_rprintf
@@ -281,6 +281,11 @@
     seek_offset = anx_parse_time (val);
   }
   
+#ifdef DEBUG
+  ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
+                "ma_anxenc t=%s (%f)\n", val, seek_offset);
+#endif
+
   ret = anx_write_import (anx, filename, NULL, content_type,
 			   seek_offset, seek_end, 0);
   


-- 
conrad



More information about the cvs-annodex mailing list