Mercurial > libdvdnav.hg
changeset 66:2bd4a78eefce src
Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead'
author | richwareham |
---|---|
date | Thu, 25 Jul 2002 14:42:33 +0000 |
parents | dcde6d9cea7a |
children | 61c0ee1bbb7a |
files | dvdnav.c dvdnav.h |
diffstat | 2 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dvdnav.c Sun Jul 21 10:16:45 2002 +0000 +++ b/dvdnav.c Thu Jul 25 14:42:33 2002 +0000 @@ -976,8 +976,23 @@ return S_OK; } +dsi_t* dvdnav_get_current_nav_dsi(dvdnav_t *this) { + if(!this || !this->vm) return 0; + return &this->dsi; +} + +uint32_t dvdnav_get_next_still_flag(dvdnav_t *this) { + if(!this || !this->vm) { + return S_ERR; + } + return this->position_next.still; +} + /* * $Log$ + * Revision 1.28 2002/07/25 14:42:33 richwareham + * Patch from aschultz@cs.uni-magdeburg.de to allow for still-frame 'peek-ahead' + * * Revision 1.27 2002/07/12 15:46:44 mroi * use new memcopy'less read ahead cache *
--- a/dvdnav.h Sun Jul 21 10:16:45 2002 +0000 +++ b/dvdnav.h Thu Jul 25 14:42:33 2002 +0000 @@ -503,6 +503,16 @@ pci_t* dvdnav_get_current_nav_pci(dvdnav_t *self); /** + * Returns the DSI structure associated + * with the current position. + * + * \param self Pointer to dvdnav_t associated with this operation. + * + * \sa dsi_t (in <tt>libdvdread</tt>) + */ +dsi_t* dvdnav_get_current_nav_dsi(dvdnav_t *self); + +/** * Get the area associated with a certain button. * * \param nav_pci Pointer to the PCI structure you may have got via @@ -804,6 +814,13 @@ int *number_of_angles); /** + * Returns the still time status from the next cell + * + * \param self Pointer to dvdnav_t associated with this operation. + */ +uint32_t dvdnav_get_next_still_flag(dvdnav_t *self); + +/** * @} */