[xiph-commits] r3736 - libannodex/trunk/src/libannodex
conrad at svn.annodex.net
conrad at svn.annodex.net
Sat Oct 25 15:43:41 PDT 2008
Author: conrad
Date: 2008-10-25 15:43:40 -0700 (Sat, 25 Oct 2008)
New Revision: 3736
Modified:
libannodex/trunk/src/libannodex/anx_write.c
Log:
set presentation time at the point of importing media (if unset),
rather than only when importing from cmml. Ensures presentation time is
valid in Skeleton for mod_annodex, cmmlwiki on media files
Modified: libannodex/trunk/src/libannodex/anx_write.c
===================================================================
--- libannodex/trunk/src/libannodex/anx_write.c 2008-10-25 22:35:50 UTC (rev 3735)
+++ libannodex/trunk/src/libannodex/anx_write.c 2008-10-25 22:43:40 UTC (rev 3736)
@@ -297,6 +297,9 @@
import_import_user_data = annodex;
}
+ if (annodex->presentation_time == 0.0)
+ anx_set_presentation_time (annodex, seek_offset);
+
m = anx_media_open (annodex, filename, id, content_type,
seek_offset, seek_end, flags,
import_stream, import_head, import_clip, import_cmml,
More information about the commits
mailing list