summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav/highlight.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-02-26 20:44:11 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-02-26 20:44:11 +0000
commit54314e76f16810b12ce65b0e822a881158cd5e06 (patch)
treebd465042a12ab63cb361917fd18fc327fac0f50b /src/input/libdvdnav/highlight.c
parent74622b2716a260f14cec263922a89ef41df2c7fb (diff)
downloadxine-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/highlight.c')
-rw-r--r--src/input/libdvdnav/highlight.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/libdvdnav/highlight.c b/src/input/libdvdnav/highlight.c
index f7000dfb5..98dc772de 100644
--- a/src/input/libdvdnav/highlight.c
+++ b/src/input/libdvdnav/highlight.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: highlight.c,v 1.7 2003/02/20 16:01:59 mroi Exp $
+ * $Id: highlight.c,v 1.8 2003/02/26 20:44:15 mroi Exp $
*
*/
@@ -372,6 +372,7 @@ dvdnav_status_t dvdnav_button_activate(dvdnav_t *this, pci_t *pci) {
/* In still, but no buttons. */
vm_get_next_cell(this->vm);
this->position_current.still = 0;
+ this->sync_wait = 0;
pthread_mutex_unlock(&this->vm_lock);
/* clear error message */
printerr("");
@@ -419,6 +420,7 @@ dvdnav_status_t dvdnav_button_activate_cmd(dvdnav_t *this, int32_t button, vm_cm
}
/* Always remove still, because some still menus have no buttons. */
this->position_current.still = 0;
+ this->sync_wait = 0;
pthread_mutex_unlock(&this->vm_lock);
return S_OK;
}