summaryrefslogtreecommitdiff
path: root/src/libspudec/spu.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-23 21:48:06 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-23 21:48:06 +0000
commit8f87fa5569fc718867a2b9837d21dc955ebbbd1f (patch)
tree2d010ba450c875462c790abf8d9c61a1141f3056 /src/libspudec/spu.c
parent32c9dff70210a74f48e6c4ac25ffbe71973d1314 (diff)
downloadxine-lib-8f87fa5569fc718867a2b9837d21dc955ebbbd1f.tar.gz
xine-lib-8f87fa5569fc718867a2b9837d21dc955ebbbd1f.tar.bz2
Small improvement to menu highlights.
Once a menu has been activated, it will not move until the next menu appears. CVS patchset: 1769 CVS date: 2002/04/23 21:48:06
Diffstat (limited to 'src/libspudec/spu.c')
-rw-r--r--src/libspudec/spu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c
index 59e874d9b..82e48eae7 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.34 2002/04/23 20:27:31 jcdutton Exp $
+ * $Id: spu.c,v 1.35 2002/04/23 21:48:06 jcdutton Exp $
*
*/
@@ -147,6 +147,7 @@ void spudec_decode_nav(spudec_decoder_t *this, buf_element_t *buf) {
}
if (pci.hli.hl_gi.hli_ss == 1) {
xine_fast_memcpy(&this->pci, &pci, sizeof(pci_t));
+ this->button_filter=1;
/*******************************
* We should do something about fosl_btnn, but
* until we can send the info to dvdnav, ignore it.
@@ -158,6 +159,7 @@ void spudec_decode_nav(spudec_decoder_t *this, buf_element_t *buf) {
if ( (pci.hli.hl_gi.hli_ss == 0) &&
(this->pci.hli.hl_gi.hli_ss == 1) ) {
xine_fast_memcpy(&this->pci, &pci, sizeof(pci_t));
+ this->button_filter=0;
/* Hide menu spu between menus */
printf("libspudec:nav:SHOULD HIDE SPU here\n");
if( this->menu_handle < 0 ) {