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

conrad nobody at lists.annodex.net
Thu Feb 10 19:17:02 EST 2005


Update of /annodex (new revision 869)

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

Log Message:
update for new presentation_time and basetime accessors


Modified: mod_annodex-ap13/trunk/mod_annodex.c
===================================================================
--- mod_annodex-ap13/trunk/mod_annodex.c	2005-02-10 08:16:08 UTC (rev 868)
+++ mod_annodex-ap13/trunk/mod_annodex.c	2005-02-10 08:16:59 UTC (rev 869)
@@ -285,6 +285,9 @@
 		  "ma_anxenc: seek_offset = %f", seek_offset);
 #endif
   }
+
+  anx_set_presentation_time (anx, seek_offset);
+  anx_set_basetime (anx, 0.0);
   
   ret = anx_write_import (anx, filename, NULL, mime_type,
 			  seek_offset, seek_end, 0);
@@ -391,7 +394,7 @@
   ap_rprintf (r, "<cmml>\n");
 
   ap_rprintf (r, "<stream timebase=\"");
-  timebase = anx_get_timebase (anx);
+  timebase = anx_get_basetime (anx);
   if (timebase < 0.0) timebase = 0.0;
   rprintf_time_npt (r, timebase);
   ap_rprintf (r, "\">\n"); /* XXX: and UTC */


-- 
conrad



More information about the cvs-annodex mailing list