diff dvdnav.h @ 315:9abc06e356ff src

now dvdnav_describe_title_chapters() also returns the duration of the title
author nicodvb
date Thu, 29 Nov 2007 23:24:05 +0000
parents 152e19b2b6a1
children 62dd6af82d7b
line wrap: on
line diff
--- a/dvdnav.h	Thu Nov 29 23:09:59 2007 +0000
+++ b/dvdnav.h	Thu Nov 29 23:24:05 2007 +0000
@@ -286,10 +286,11 @@
 /*
  * Stores in *times an array (that the application *must* free) of
  * dvdtimes corresponding to the chapter times for the chosen title.
+ * *duration will have the duration of the title
  * The number of entries in *times is the result of the function.
  * On error *times is NULL and the output is 0
  */
-uint32_t dvdnav_describe_title_chapters(dvdnav_t *this, int32_t title, uint64_t **times);
+uint32_t dvdnav_describe_title_chapters(dvdnav_t *this, int32_t title, uint64_t **times, uint64_t *duration);
 
 /*
  * Play the specified amount of parts of the specified title of