dvdnav.h | dvdnav.h | |||
---|---|---|---|---|
skipping to change at line 279 | skipping to change at line 279 | |||
dvdnav_status_t dvdnav_title_play(dvdnav_t *self, int32_t title); | dvdnav_status_t dvdnav_title_play(dvdnav_t *self, int32_t title); | |||
/* | /* | |||
* Plays the specified title, starting from the specified part. | * Plays the specified title, starting from the specified part. | |||
*/ | */ | |||
dvdnav_status_t dvdnav_part_play(dvdnav_t *self, int32_t title, int32_t par t); | dvdnav_status_t dvdnav_part_play(dvdnav_t *self, int32_t title, int32_t par t); | |||
/* | /* | |||
* Plays the specified title, starting from the specified program | * Plays the specified title, starting from the specified program | |||
*/ | */ | |||
dvdnav_status_t dvdnav_program_play(dvdnav_t *this, int32_t title, int32_t pgcn, int32_t pgn); | dvdnav_status_t dvdnav_program_play(dvdnav_t *self, int32_t title, int32_t pgcn, int32_t pgn); | |||
/* | /* | |||
* Stores in *times an array (that the application *must* free) of | * Stores in *times an array (that the application *must* free) of | |||
* dvdtimes corresponding to the chapter times for the chosen title. | * dvdtimes corresponding to the chapter times for the chosen title. | |||
* *duration will have the duration of the title | * *duration will have the duration of the title | |||
* The number of entries in *times is the result of the function. | * The number of entries in *times is the result of the function. | |||
* On error *times is NULL and the output is 0 | * On error *times is NULL and the output is 0 | |||
*/ | */ | |||
uint32_t dvdnav_describe_title_chapters(dvdnav_t *self, int32_t title, uint 64_t **times, uint64_t *duration); | uint32_t dvdnav_describe_title_chapters(dvdnav_t *self, int32_t title, uint 64_t **times, uint64_t *duration); | |||
skipping to change at line 379 | skipping to change at line 379 | |||
/* | /* | |||
returns the current stream time in PTS ticks as reported by the IFO struct ures | returns the current stream time in PTS ticks as reported by the IFO struct ures | |||
divide it by 90000 to get the current play time in seconds | divide it by 90000 to get the current play time in seconds | |||
*/ | */ | |||
int64_t dvdnav_get_current_time(dvdnav_t *self); | int64_t dvdnav_get_current_time(dvdnav_t *self); | |||
/* | /* | |||
* Stop playing the current position and start playback of the title | * Stop playing the current position and start playback of the title | |||
* from the specified timecode. | * from the specified timecode. | |||
* | * | |||
* Currently unimplemented! | * Currently implemented using interpolation, which is slightly inaccurate. | |||
*/ | */ | |||
dvdnav_status_t dvdnav_time_search(dvdnav_t *self, | dvdnav_status_t dvdnav_time_search(dvdnav_t *self, | |||
uint64_t time); | uint64_t time); | |||
/* | /* | |||
* Stop playing current position and play the "GoUp"-program chain. | * Stop playing current position and play the "GoUp"-program chain. | |||
* (which generally leads to the title menu or a higher-level menu). | * (which generally leads to the title menu or a higher-level menu). | |||
*/ | */ | |||
dvdnav_status_t dvdnav_go_up(dvdnav_t *self); | dvdnav_status_t dvdnav_go_up(dvdnav_t *self); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||