diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-02-26 20:44:11 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-02-26 20:44:11 +0000 |
commit | 54314e76f16810b12ce65b0e822a881158cd5e06 (patch) | |
tree | bd465042a12ab63cb361917fd18fc327fac0f50b /src/input/libdvdnav/navigation.c | |
parent | 74622b2716a260f14cec263922a89ef41df2c7fb (diff) | |
download | xine-lib-54314e76f16810b12ce65b0e822a881158cd5e06.tar.gz xine-lib-54314e76f16810b12ce65b0e822a881158cd5e06.tar.bz2 |
sync to current libdvdnav cvs, important change is the new DVDNAV_WAIT event,
which allows us to keep libdvdnav and what is seen on screen in sync in certain
critical situations (otherwise libdvdnav is always ahead by the fifo length)
CVS patchset: 4291
CVS date: 2003/02/26 20:44:11
Diffstat (limited to 'src/input/libdvdnav/navigation.c')
-rw-r--r-- | src/input/libdvdnav/navigation.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/input/libdvdnav/navigation.c b/src/input/libdvdnav/navigation.c index 28279c04a..fbf41e04a 100644 --- a/src/input/libdvdnav/navigation.c +++ b/src/input/libdvdnav/navigation.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: navigation.c,v 1.4 2003/02/20 16:02:00 mroi Exp $ + * $Id: navigation.c,v 1.5 2003/02/26 20:44:15 mroi Exp $ * */ @@ -39,6 +39,20 @@ dvdnav_status_t dvdnav_still_skip(dvdnav_t *this) { this->position_current.still = 0; this->skip_still = 1; + this->sync_wait = 0; + this->sync_wait_skip = 1; + + return S_OK; +} + +dvdnav_status_t dvdnav_wait_skip(dvdnav_t *this) { + if(!this) { + printerr("Passed a NULL pointer."); + return S_ERR; + } + + this->sync_wait = 0; + this->sync_wait_skip = 1; return S_OK; } |