Mercurial > libdvdnav.hg
comparison highlight.c @ 116:4d711d0518e9 src
new event DVDNAV_WAIT
author | mroi |
---|---|
date | Tue, 25 Feb 2003 14:08:16 +0000 |
parents | b6834e6359cf |
children | 816d82ff7eed |
comparison
equal
deleted
inserted
replaced
115:b527b7cbfb19 | 116:4d711d0518e9 |
---|---|
370 */ | 370 */ |
371 if (this->position_current.still != 0) { | 371 if (this->position_current.still != 0) { |
372 /* In still, but no buttons. */ | 372 /* In still, but no buttons. */ |
373 vm_get_next_cell(this->vm); | 373 vm_get_next_cell(this->vm); |
374 this->position_current.still = 0; | 374 this->position_current.still = 0; |
375 this->sync_wait = 0; | |
375 pthread_mutex_unlock(&this->vm_lock); | 376 pthread_mutex_unlock(&this->vm_lock); |
376 /* clear error message */ | 377 /* clear error message */ |
377 printerr(""); | 378 printerr(""); |
378 return S_OK; | 379 return S_OK; |
379 } | 380 } |
417 this->vm->hop_channel++; | 418 this->vm->hop_channel++; |
418 } | 419 } |
419 } | 420 } |
420 /* Always remove still, because some still menus have no buttons. */ | 421 /* Always remove still, because some still menus have no buttons. */ |
421 this->position_current.still = 0; | 422 this->position_current.still = 0; |
423 this->sync_wait = 0; | |
422 pthread_mutex_unlock(&this->vm_lock); | 424 pthread_mutex_unlock(&this->vm_lock); |
423 return S_OK; | 425 return S_OK; |
424 } | 426 } |
425 | 427 |
426 dvdnav_status_t dvdnav_button_select(dvdnav_t *this, pci_t *pci, int button) { | 428 dvdnav_status_t dvdnav_button_select(dvdnav_t *this, pci_t *pci, int button) { |