diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-19 17:16:39 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-07-19 17:16:39 +0000 |
commit | c7058487ea0bfd12cfec128d1919011dcf9a0d69 (patch) | |
tree | aba29d33f6bfdd47e924df6b7212b198eeb68eaa | |
parent | 3ee58c7a0551d3639d3314517745705c514090b4 (diff) | |
download | xine-lib-c7058487ea0bfd12cfec128d1919011dcf9a0d69.tar.gz xine-lib-c7058487ea0bfd12cfec128d1919011dcf9a0d69.tar.bz2 |
fix some menu highlights not disappearing on menu leave
CVS patchset: 2320
CVS date: 2002/07/19 17:16:39
-rw-r--r-- | src/libspudec/spu.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c index db353cb8b..df58f8cf9 100644 --- a/src/libspudec/spu.c +++ b/src/libspudec/spu.c @@ -35,7 +35,7 @@ * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: spu.c,v 1.41 2002/07/06 16:38:30 mroi Exp $ + * $Id: spu.c,v 1.42 2002/07/19 17:16:39 mroi Exp $ * */ @@ -324,6 +324,14 @@ void spudec_process (spudec_decoder_t *this, uint32_t stream_id) { #endif pthread_mutex_lock(&this->nav_pci_lock); if (this->pci.hli.hl_gi.hli_s_ptm == this->spudec_stream_state[stream_id].pts) { + if (this->state.visible == EVENT_HIDE_MENU) { + /* menus are hidden via nav packet decoding, not here */ + /* FIXME: James is not sure about this solution and may want to look this over. + * I'm commiting it, because I haven't found a disc it breaks, but it fixes + * some instead. Michael Roitzsch */ + pthread_mutex_unlock(&this->nav_pci_lock); + continue; + } if ( this->pci.hli.hl_gi.fosl_btnn > 0) { spu_button_t spu_button; xine_spu_event_t spu_event; |