diff dvdnav.h @ 269:77e472cef5f8 src

implemented dvdnav_get_current_time() with obvious meaning
author nicodvb
date Sun, 08 Apr 2007 17:45:19 +0000
parents 5256576e85cd
children 814e79060099
line wrap: on
line diff
--- a/dvdnav.h	Sun Apr 08 17:41:12 2007 +0000
+++ b/dvdnav.h	Sun Apr 08 17:45:19 2007 +0000
@@ -361,6 +361,12 @@
 				     uint64_t offset, int32_t origin);
 
 /*
+ returns the current stream time in PTS ticks as reported by the IFO structures
+ divide it by 90000 to get the current play time in seconds
+ */
+int64_t dvdnav_get_current_time(dvdnav_t *this);
+
+/*
  * Stop playing the current position and start playback of the title
  * from the specified timecode.
  *